:root {
  --bg: #050505;
  --bg-soft: #0d0d0d;
  --bg-color: #111419;
  --text: #f5f2ed;
  --muted: #aaa39b;
  --accent: #d3b68a;
  --line: rgba(255, 255, 255, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", "Avenir Next", "Helvetica Neue", sans-serif;
  overflow-x: hidden;
  overflow-y: auto;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  font-family: "Bodoni Moda", "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: 0.01em;
}

p {
  margin: 0;
  line-height: 1.65;
}

img {
  width: 100%;
  display: block;
  object-fit: cover;
}

a {
  color: inherit;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
  opacity: 0.13;
  mix-blend-mode: soft-light;
  background-image: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.08), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.25' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
  animation: grainShift 0.25s steps(3) infinite;
}

@keyframes grainShift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-1.5%, 1%); }
  50% { transform: translate(1%, -1.2%); }
  75% { transform: translate(0.7%, 1.1%); }
  100% { transform: translate(0, 0); }
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 500;
  transform: translate(-50%, -50%);
}

.cursor-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
}

.cursor-ring {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: width 0.2s ease, height 0.2s ease, border-color 0.2s ease;
}

.cursor-ring.active {
  width: 66px;
  height: 66px;
  border-color: rgba(211, 182, 138, 0.7);
}

.opening {
  position: fixed;
  inset: 0;
  z-index: 450;
  background: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
  animation: finishOpening 6.5s ease forwards;
}

.opening-white,
.opening-bw {
  position: absolute;
  inset: 0;
}

.opening-white {
  background: #fff;
  animation: whiteOut 1.4s ease forwards;
}

.opening-bw {
  background-size: cover;
  background-position: center;
  filter: grayscale(1) contrast(1.15);
  opacity: 0;
  animation: bwIn 3.5s 0.9s ease forwards;
}

.opening-quote {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 0 28px;
  text-align: center;
  font-family: "Bodoni Moda", serif;
  font-size: clamp(1.3rem, 3.2vw, 2.5rem);
  color: #f2efe9;
  opacity: 0;
  transform: translateY(18px);
  animation: quoteIn 2.1s 2.3s ease forwards;
}

@keyframes whiteOut { to { opacity: 0; } }
@keyframes bwIn { to { opacity: 1; transform: scale(1.03); } }
@keyframes quoteIn { to { opacity: 1; transform: translateY(0); } }
@keyframes finishOpening {
  0%, 88% { opacity: 1; visibility: visible; }
  100% { opacity: 0; visibility: hidden; }
}

.top-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 260;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.65), transparent 100%);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo img {
  width: 42px;
  height: 42px;
}

.logo span {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.68rem;
  color: #f1ede5;
}

.hamburger {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(8, 8, 8, 0.45);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.hamburger span {
  width: 18px;
  height: 1.5px;
  background: #f7f4ef;
  display: block;
  transition: transform 0.3s ease;
}

.hamburger span + span {
  margin-top: 6px;
}

.hamburger.is-open span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.hamburger.is-open span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

.menu-panel {
  height: 100%;
  width: min(460px, 92vw);
  margin-left: auto;
  padding: 98px 34px 34px;
  background: #080808;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.menu-panel a {
  text-decoration: none;
  font-family: "Bodoni Moda", serif;
  font-size: clamp(1.2rem, 3vw, 2rem);
  line-height: 1.2;
  color: #ece7de;
  transition: color 0.3s ease, transform 0.3s ease;
}

.menu-panel a:hover {
  color: var(--accent);
  transform: translateX(5px);
}

.menu-panel hr {
  width: 100%;
  border: 0;
  border-top: 1px solid var(--line);
  margin: 14px 0;
}

.minimal-nav {
  position: fixed;
  right: 24px;
  top: 50%;
  z-index: 220;
  transform: translateY(-50%);
  display: grid;
  gap: 10px;
}

.minimal-nav button {
  border: 0;
  padding: 7px 9px;
  background: rgba(5, 5, 5, 0.4);
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.67rem;
  letter-spacing: 0.18em;
  cursor: pointer;
  transition: color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.minimal-nav button:hover {
  color: var(--text);
  border-color: rgba(211, 182, 138, 0.45);
  transform: translateX(-4px);
}

.minimal-nav button.is-active {
  color: var(--text);
  border-color: rgba(211, 182, 138, 0.78);
  background: rgba(211, 182, 138, 0.14);
}

.scroll-shell {
  position: relative;
  overflow: visible;
}

.content {
  position: relative;
  width: 100%;
}

.section {
  position: relative;
  min-height: 100vh;
  padding: 14vh 7vw;
}

.section-divider {
  height: 18vh;
  display: grid;
  place-items: center;
  position: relative;
}

.section-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 7vw;
  right: 7vw;
  border-top: 1px solid var(--line);
}

.section-divider span {
  position: relative;
  z-index: 1;
  padding: 8px 14px;
  background: #040404;
  color: var(--muted);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.6rem;
}

.fade-edge::before,
.fade-edge::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 20vh;
  z-index: 5;
  pointer-events: none;
}

.fade-edge::before {
  top: -2px;
  background: linear-gradient(180deg, #000 0%, transparent 100%);
}

.fade-edge::after {
  bottom: -2px;
  background: linear-gradient(0deg, #000 0%, transparent 100%);
}

.hero {
  padding: 0;
  overflow: hidden;
}

/* Defensive guard: hide legacy hero widgets that are not part of the current layout. */
.hero > :not(#heroGl):not(.hero-overlay):not(.hero-copy):not(.scroll-cue) {
  display: none !important;
}

#heroGl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 40%, transparent 20%, rgba(0, 0, 0, 0.65) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.72));
}

.hero-copy {
  position: absolute;
  left: 7vw;
  bottom: 12vh;
  max-width: 640px;
  z-index: 3;
}

.label {
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: 0.67rem;
  margin-bottom: 14px;
  color: var(--muted);
}

.hero h1 {
  font-size: clamp(3rem, 11vw, 9rem);
  margin-bottom: 14px;
}

.hero p {
  max-width: 520px;
}

.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.62rem;
  padding: 11px 16px;
  border-radius: 999px;
  cursor: pointer;
}

.about {
  background: radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.06), transparent 40%), var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(24px, 6vw, 80px);
  align-items: center;
}

.about-image {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  max-height: 78vh;
}

.about-image img {
  height: 100%;
  transform: scale(1.04);
  filter: saturate(0.8) contrast(1.08);
  transition: transform 0.8s ease;
}

.about-image:hover img {
  transform: scale(1.1);
}

.about-story h2 {
  font-size: clamp(2rem, 5vw, 4.4rem);
  margin-bottom: 24px;
}

.about-story > p {
  color: #d5cfc7;
  margin-bottom: 28px;
}

.timeline {
  display: grid;
  gap: 15px;
}

.timeline div {
  border-left: 1px solid var(--line);
  padding-left: 16px;
}

.timeline span {
  color: var(--accent);
  font-size: 0.82rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.categories {
  background: #080808;
}

.categories h2 {
  font-size: clamp(1.9rem, 5vw, 4rem);
  margin-bottom: 36px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.cat-card {
  position: relative;
  min-height: 52vh;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: pointer;
  --mx: 0px;
  --my: 0px;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
  transform: translate(var(--mx), var(--my));
}

.cat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.86) 100%);
}

.cat-card-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: transform 1.1s ease;
}

.cat-card:nth-child(1),
.cat-card:nth-child(4) {
  grid-column: span 7;
}

.cat-card:nth-child(2),
.cat-card:nth-child(3) {
  grid-column: span 5;
}

.cat-card h3 {
  position: absolute;
  left: 20px;
  bottom: 22px;
  font-size: clamp(1.4rem, 3.8vw, 3rem);
  z-index: 1;
}

.cat-card:hover {
  border-color: rgba(211, 182, 138, 0.55);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.45);
}

.cat-card:hover .cat-card-media {
  transform: scale(1.11);
}

.section-head {
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: clamp(1.9rem, 4.5vw, 4.2rem);
  max-width: 820px;
}

.section-head-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}

.section-head-row .section-head {
  margin-bottom: 0;
}

.gallery-intro {
  color: #cbc4ba;
  max-width: 420px;
  justify-self: end;
}

.section-cta {
  margin-top: 28px;
}

.section-link {
  display: inline-block;
  text-decoration: none;
  border: 1px solid rgba(211, 182, 138, 0.45);
  border-radius: 999px;
  padding: 11px 20px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.66rem;
  transition: transform 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}

.section-link:hover {
  transform: translateY(-3px);
  background: rgba(211, 182, 138, 0.12);
  border-color: rgba(211, 182, 138, 0.75);
}

.blackwhite {
  background: var(--bg-soft);
}

.color {
  background: var(--bg-color);
}

.workers {
  background: linear-gradient(180deg, #090909 0%, #000 100%);
}

.section-head-row--workers {
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 1120px;
  margin-bottom: 22px;
}

.section-head-row--workers .gallery-intro {
  justify-self: start;
  max-width: 760px;
}

.masterfoto {
  background: #0a0a0b;
}

.gallery-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.gallery-meta {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.62rem;
}

.gallery-controls {
  display: flex;
  gap: 10px;
}

.gallery-scroll {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(211, 182, 138, 0.32);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, opacity 0.25s ease;
}

.gallery-scroll:hover {
  transform: translateY(-2px);
  border-color: rgba(211, 182, 138, 0.75);
  background: rgba(211, 182, 138, 0.14);
}

.gallery-scroll:disabled {
  opacity: 0.34;
  cursor: not-allowed;
  transform: none;
}

.workers-gallery-shell {
  padding: 20px 22px 18px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    radial-gradient(circle at top left, rgba(211, 182, 138, 0.12), transparent 32%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.gallery-toolbar--workers {
  margin-bottom: 14px;
}

.gallery-strip {
  display: grid;
  grid-auto-flow: column dense;
  grid-auto-columns: minmax(220px, 18vw);
  grid-template-rows: repeat(2, minmax(180px, 18vw));
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 18px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(211, 182, 138, 0.5) transparent;
  cursor: grab;
}

.gallery-strip::-webkit-scrollbar {
  height: 10px;
}

.gallery-strip::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.gallery-strip::-webkit-scrollbar-thumb {
  background: rgba(211, 182, 138, 0.45);
  border-radius: 999px;
}

.gallery-strip.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.gallery-strip:focus-visible {
  outline: 1px solid rgba(211, 182, 138, 0.8);
  outline-offset: 6px;
}

.gallery-tile {
  position: relative;
  min-width: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #050505;
  cursor: zoom-in;
  scroll-snap-align: start;
  isolation: isolate;
}

.gallery-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.55));
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.gallery-tile img {
  height: 100%;
  transition: transform 1s ease;
}

.gallery-tile:hover::after {
  opacity: 1;
}

.gallery-tile:hover img {
  transform: scale(1.07);
}

.gallery-tile figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 1;
  color: #f1ece3;
  font-size: 0.72rem;
  line-height: 1.45;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.gallery-tile--wide {
  grid-column: span 2;
}

.gallery-tile--tall {
  grid-row: span 2;
}

.gallery-strip--workers {
  display: flex;
  gap: 16px;
  grid-auto-flow: unset;
  grid-auto-columns: unset;
  grid-template-rows: none;
  padding: 4px 0 14px;
  scroll-snap-type: x mandatory;
  scrollbar-gutter: stable both-edges;
  scrollbar-width: auto;
}

.gallery-strip--workers::-webkit-scrollbar {
  height: 14px;
}

.gallery-strip--workers::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.gallery-strip--workers::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, rgba(211, 182, 138, 0.95), rgba(244, 239, 231, 0.85));
  border-radius: 999px;
}

.gallery-tile--workers {
  flex: 0 0 clamp(240px, 23vw, 340px);
  height: clamp(360px, 48vw, 520px);
}

.gallery-tile--workers-lead {
  flex-basis: clamp(280px, 28vw, 410px);
}

.gallery-tile--workers img {
  width: 100%;
  height: 100%;
}

.gallery-progress {
  position: relative;
  height: 6px;
  margin-top: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.gallery-progress-thumb {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 28%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(211, 182, 138, 0.95), rgba(255, 255, 255, 0.85));
  transform: translateX(0);
}

.contact {
  display: grid;
  place-items: center;
  padding-top: 18vh;
  padding-bottom: 18vh;
}

.contact-box {
  width: min(860px, 100%);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(24px, 6vw, 72px);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
}

.contact-box h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: 16px;
}

.cta {
  display: inline-block;
  margin-top: 28px;
  text-decoration: none;
  color: var(--text);
  border: 1px solid rgba(211, 182, 138, 0.45);
  border-radius: 999px;
  padding: 13px 24px;
  transition: transform 0.35s ease, background 0.35s ease;
}

.cta:hover {
  background: rgba(211, 182, 138, 0.12);
  transform: translateY(-3px);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 7vw;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: #b8b0a5;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.64rem;
}

.site-footer:not(.site-footer--home) div {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.site-footer--home {
  position: relative;
  display: grid;
  gap: 34px;
  padding: clamp(52px, 8vw, 92px) 7vw 32px;
  color: #cdc4b8;
  text-transform: none;
  letter-spacing: normal;
  font-size: 1rem;
  background:
    radial-gradient(circle at top left, rgba(211, 182, 138, 0.16), transparent 28%),
    linear-gradient(180deg, #060606 0%, #0d0f12 100%);
}

.site-footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 28px;
  align-items: end;
}

.site-footer-brand h2 {
  font-size: clamp(2rem, 4.6vw, 4rem);
  line-height: 1.02;
  margin-bottom: 18px;
  font-family: "Bodoni Moda", "Times New Roman", serif;
  color: #f4efe7;
}

.site-footer-brand p:last-child {
  max-width: 720px;
  color: #c9c1b5;
}

.site-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
}

.site-footer-kicker {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.7rem;
  margin-bottom: 16px;
}

.footer-cta,
.footer-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.footer-cta {
  background: rgba(211, 182, 138, 0.16);
  border: 1px solid rgba(211, 182, 138, 0.52);
  color: #f6f1e9;
}

.footer-ghost {
  border: 1px solid var(--line);
  color: #d8d0c5;
}

.footer-cta:hover,
.footer-ghost:hover {
  transform: translateY(-2px);
}

.site-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer-block {
  display: grid;
  gap: 10px;
  color: #cdc4b8;
}

.site-footer--home a {
  color: #f1ece4;
}

.site-footer-title {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.66rem;
  margin-bottom: 4px;
}

.site-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #a79d91;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.66rem;
}

.site-footer a {
  text-decoration: none;
  width: fit-content;
}

.site-footer a:hover {
  color: var(--text);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 420;
  background: rgba(0, 0, 0, 0.92);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  width: min(92vw, 1400px);
  max-height: 90vh;
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  padding: 8px 12px;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 1.1s cubic-bezier(0.18, 1, 0.22, 1);
}

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

.inner-page {
  overflow: auto;
  background: #070707;
}

.inner-page .grain,
.inner-page .cursor-dot,
.inner-page .cursor-ring,
.inner-page .minimal-nav,
.inner-page .opening {
  display: none;
}

.inner-main {
  padding-top: 96px;
}

.inner-hero {
  min-height: 58vh;
  padding: 10vh 7vw 6vh;
  border-bottom: 1px solid var(--line);
}

.inner-hero h1 {
  font-size: clamp(2.2rem, 8vw, 6rem);
}

.inner-gallery {
  padding: 8vh 7vw 10vh;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
}

.inner-gallery img {
  border-radius: 12px;
  height: 100%;
  min-height: 220px;
  transition: transform 0.8s ease;
}

.inner-gallery img:hover {
  transform: scale(1.05);
}

.inner-gallery img:nth-child(4n + 1) { grid-column: span 7; }
.inner-gallery img:nth-child(4n + 2) { grid-column: span 5; }
.inner-gallery img:nth-child(4n + 3) { grid-column: span 5; }
.inner-gallery img:nth-child(4n + 4) { grid-column: span 7; }

@media (max-width: 980px) {
  .content {
    transform: none !important;
  }

  .minimal-nav,
  .cursor-dot,
  .cursor-ring,
  .section-divider {
    display: none;
  }

  .section {
    padding: 12vh 6vw;
    min-height: auto;
  }

  .hero {
    min-height: 100vh;
  }

  .section-head-row {
    grid-template-columns: 1fr;
    margin-bottom: 22px;
  }

  .gallery-intro {
    justify-self: start;
  }

  .gallery-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .gallery-strip {
    grid-auto-columns: minmax(72vw, 280px);
    grid-template-rows: minmax(260px, 62vw);
  }

  .workers-gallery-shell {
    padding: 18px 16px 16px;
  }

  .gallery-strip--workers {
    gap: 14px;
  }

  .gallery-tile--workers,
  .gallery-tile--workers-lead {
    flex-basis: min(78vw, 340px);
    height: min(112vw, 500px);
  }

  .gallery-tile--wide,
  .gallery-tile--tall {
    grid-column: auto;
    grid-row: auto;
  }

  .about-grid,
  .cards,
  .site-footer,
  .inner-gallery {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: grid;
  }

  .cat-card,
  .cat-card:nth-child(1),
  .cat-card:nth-child(2),
  .cat-card:nth-child(3),
  .cat-card:nth-child(4),
  .master-grid img,
  .master-grid img:nth-child(1),
  .master-grid img:nth-child(2),
  .master-grid img:nth-child(3),
  .master-grid img:nth-child(4),
  .inner-gallery img,
  .inner-gallery img:nth-child(4n + 1),
  .inner-gallery img:nth-child(4n + 2),
  .inner-gallery img:nth-child(4n + 3),
  .inner-gallery img:nth-child(4n + 4) {
    grid-column: auto;
  }

  .cat-card {
    min-height: 42vh;
  }

  .site-footer--home {
    gap: 28px;
  }

  .site-footer-top,
  .site-footer-grid,
  .site-footer-bottom {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .site-footer-bottom {
    align-items: flex-start;
  }

  .top-header {
    padding: 14px 16px;
  }

  .menu-panel {
    width: 100%;
  }
}
