/* OES — Origin Engineering Solutions (light) */
:root {
  --brand: #ee7f07;
  --brand-soft: #ff9a33;
  --bg: #ffffff;
  --bg-soft: #f7f7f7;
  --bg-elevated: #ffffff;
  --bg-panel: #f3f3f3;
  --text: #141414;
  --text-muted: #5c5c5c;
  --line: rgba(20, 20, 20, 0.1);
  --line-brand: rgba(238, 127, 7, 0.35);
  --font-display: "Montserrat", system-ui, sans-serif;
  --font-body: "Montserrat", system-ui, sans-serif;
  --max: 1180px;
  --header-h: 7.75rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background:
    radial-gradient(ellipse 70% 45% at 85% 0%, rgba(238, 127, 7, 0.1), transparent 55%),
    radial-gradient(ellipse 50% 35% at 0% 80%, rgba(238, 127, 7, 0.06), transparent 50%),
    linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
  background-attachment: fixed;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

body.is-intro-lock {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* —— Intro: dial spin + OES spell —— */
.intro {
  --intro-ease: cubic-bezier(0.22, 1, 0.36, 1);
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: #1a1a1a;
  overflow: hidden;
  transition: opacity 0.18s var(--intro-ease), visibility 0.18s;
}

.intro::before {
  content: "";
  position: absolute;
  inset: -28px;
  background: url("../assets/images/intro-bg-home.jpg") center top / cover no-repeat;
  filter: blur(22px);
  transform: scale(1.08);
  z-index: 0;
}

.intro::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.18);
  z-index: 0;
}

.intro.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro__stage {
  position: relative;
  z-index: 1;
  width: min(520px, 96vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.1rem;
}

.intro__mark {
  position: relative;
  width: min(300px, 72vw);
  aspect-ratio: 371 / 324;
}

.intro__layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.intro__layer--black {
  opacity: 0;
  transform: scale(0.98);
}

.intro__layer--dial {
  opacity: 0;
  transform-origin: 42% 48%;
  transform: rotate(0deg) scale(0.98);
}

/* Individual dots — measured from logo mark (371×324) */
.intro__dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.intro__dot {
  position: absolute;
  border-radius: 50%;
  background: #ee7f07;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.25);
  will-change: opacity, transform;
}

.intro__dot--1 {
  left: 52.82%;
  top: 91.91%;
  width: 8.4%;
  aspect-ratio: 1;
}

.intro__dot--2 {
  left: 67.4%;
  top: 84.66%;
  width: 7.6%;
  aspect-ratio: 1;
}

.intro__dot--3 {
  left: 76.78%;
  top: 73.77%;
  width: 5.1%;
  aspect-ratio: 1;
}

.intro__dot--4 {
  left: 81.89%;
  top: 61.88%;
  width: 2.75%;
  aspect-ratio: 1;
}

.intro.is-play .intro__layer--black {
  animation: introBlackIn 0.32s var(--intro-ease) 0.02s forwards;
}

.intro.is-play .intro__layer--dial {
  animation: introDialSpin 2.45s linear 0.08s forwards;
}

@keyframes introBlackIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Fast around the arc, slow through the open gap (last 90°) */
@keyframes introDialSpin {
  0% {
    opacity: 0;
    transform: rotate(0deg) scale(0.98);
  }
  6% {
    opacity: 1;
    transform: rotate(-18deg) scale(1);
  }
  52% {
    opacity: 1;
    transform: rotate(-270deg) scale(1);
  }
  100% {
    opacity: 1;
    transform: rotate(-360deg) scale(1);
  }
}

.intro.is-play .intro__dot--1 {
  animation: introDotIn 1.2s var(--intro-ease) 1.38s forwards;
}

.intro.is-play .intro__dot--2 {
  animation: introDotIn 1.2s var(--intro-ease) 1.68s forwards;
}

.intro.is-play .intro__dot--3 {
  animation: introDotIn 1.2s var(--intro-ease) 1.98s forwards;
}

.intro.is-play .intro__dot--4 {
  animation: introDotIn 1.2s var(--intro-ease) 2.28s forwards;
}

@keyframes introDotIn {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.15);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* Letters + tagline under mark */
.intro__spell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.55rem;
  margin-top: 0.5rem;
  min-height: 5.5rem;
  text-align: center;
}

.intro__letters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.6rem;
}

.intro__letter {
  display: block;
  line-height: 0;
  opacity: 0;
  transform: translateY(-14px);
}

.intro__letter img {
  display: block;
  height: clamp(2.2rem, 7vw, 2.9rem);
  width: auto;
}

.intro.is-play .intro__letter--o {
  animation: introLetterIn 0.85s var(--intro-ease) 1.42s forwards;
}

.intro.is-play .intro__letter--e {
  animation: introLetterIn 0.85s var(--intro-ease) 1.72s forwards;
}

.intro.is-play .intro__letter--s {
  animation: introLetterIn 0.85s var(--intro-ease) 2.02s forwards;
}

@keyframes introLetterIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.intro__tagline {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2.8vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(12, 12, 12, 0.92);
  opacity: 0;
  transform: translateY(10px);
  white-space: nowrap;
  max-width: none;
}

.intro.is-play .intro__tagline {
  animation: introLetterIn 0.55s var(--intro-ease) 3.15s forwards;
}

/* —— Header —— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(14px);
  background: #fff;
  border-bottom: 1px solid var(--line);
  transform: translateY(-100%);
  transition: transform 0.35s var(--ease);
}

body.is-ready .site-header {
  transform: translateY(0);
}

.site-header__inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  background: transparent;
  line-height: 0;
}

.logo img {
  height: 96px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav > a,
.nav-drop > .nav-drop__btn {
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.7rem 0.7rem;
  color: var(--text-muted);
  transition: color 0.25s;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav > a:hover,
.nav > a.is-active,
.nav-drop.is-open > .nav-drop__btn,
.nav-drop:hover > .nav-drop__btn,
.nav-drop.is-active > .nav-drop__btn {
  color: var(--brand);
}

.nav-drop {
  position: relative;
}

.nav-drop__menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  width: max-content;
  min-width: 0;
  padding: 0.3rem;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 20;
}

.nav-drop:hover .nav-drop__menu,
.nav-drop.is-open .nav-drop__menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.nav-drop__menu a {
  display: block;
  padding: 0.45rem 0.7rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--text);
  white-space: nowrap;
}

.nav-drop__menu a:hover,
.nav-drop__menu a.is-active {
  color: var(--brand);
  background: rgba(238, 127, 7, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line-brand);
  overflow: hidden;
}

.lang-switch button {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.4rem 0.55rem;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
}

.lang-switch button.is-active {
  background: var(--brand);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: clamp(480px, 78vh, 820px);
  display: grid;
  align-items: center;
  padding: calc(var(--header-h) + 2.5rem) 0 3.5rem;
  overflow: hidden;
  color: #fff;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    url("../assets/images/hero-cover.jpg?v=4") center 40% / cover no-repeat;
  background-color: #1a1a1a;
  transform: scale(1.03);
  animation: heroKenBurns 14s var(--ease) forwards;
  pointer-events: none;
  /* sharper rendering on retina */
  image-rendering: auto;
}

@keyframes heroKenBurns {
  to { transform: scale(1); }
}

.hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.55) 38%,
    rgba(0, 0, 0, 0.22) 62%,
    rgba(0, 0, 0, 0.28) 100%
  );
}

.hero__bg::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40px;
  background: linear-gradient(to top, #fff, transparent);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 560px;
  opacity: 0;
  transform: translateY(24px);
}

body.is-ready .hero__content {
  animation: riseFade 0.45s var(--ease) forwards;
}

@keyframes riseFade {
  to { opacity: 1; transform: none; }
}

.hero__eyebrow {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand);
}

/* Brand English: prevent Turkish locale i → İ on uppercase */
.hero__eyebrow[lang="en"],
.intro__tagline[lang="en"] {
  text-transform: uppercase;
}

.hero__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero__lead {
  margin: 0 0 1.25rem;
  max-width: 32rem;
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  color: rgba(255, 255, 255, 0.86);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero .btn--ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.hero .btn--ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: rgba(0, 0, 0, 0.25);
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 3rem;
  padding: 0.7rem 1.35rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--brand);
  color: #fff;
}

.btn--primary:hover {
  background: #d97006;
}

.btn--ghost {
  background: transparent;
  border-color: rgba(20, 20, 20, 0.2);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
}

/* —— Sections —— */
.section {
  padding: 3.25rem 0 5rem;
}

.section__head {
  max-width: 36rem;
  margin-bottom: 2.75rem;
}

.section__label {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand);
}

.section__label--mark {
  letter-spacing: 0;
  color: transparent; /* hide broken-image alt as orange “OES” */
  font-size: 0;
  line-height: 0;
}

/* Logo wordmark — user-prepared OES lettering */
.oes-mark {
  display: inline-block;
  line-height: 0;
  vertical-align: middle;
  font-size: 0;
}

.oes-mark img,
.oes-mark svg {
  display: block;
  height: 1.35rem;
  width: auto;
}

.section__title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section__text {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* —— Pillars —— */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.55rem;
  background: transparent;
  border: 0;
}

.pillar {
  display: block;
  position: relative;
  overflow: hidden;
  min-height: 440px;
  color: #fff;
}

.pillar__media {
  position: absolute;
  inset: 0;
  background-color: #1a1a1a;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.02);
  transition: transform 0.7s var(--ease);
}

.pillar__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.55) 45%,
    rgba(0, 0, 0, 0.82) 100%
  );
  transition: background 0.35s var(--ease);
}

.pillar--design .pillar__media {
  background-image: url("../assets/images/pillar-design.jpg");
}

.pillar--production .pillar__media {
  background-image: url("../assets/images/pillar-production-welding.jpg");
  background-position: center 35%;
}

.pillar--sales .pillar__media {
  background-image: url("../assets/images/pillar-sales-burner-dark.jpg");
  background-position: center 55%;
}

.pillar--service .pillar__media {
  background-image: url("../assets/images/pillar-service.jpg");
}

.pillar__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 440px;
  padding: 1.75rem 1.4rem 1.9rem;
}

.pillar::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 7px;
  height: 0;
  background: var(--brand);
  box-shadow: 0 0 14px rgba(238, 127, 7, 0.65);
  z-index: 2;
  transition: height 0.55s var(--ease);
}

.pillar:hover .pillar__media {
  transform: scale(1.08);
}

.pillar:hover .pillar__media::after {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.28) 0%,
    rgba(0, 0, 0, 0.5) 40%,
    rgba(20, 10, 0, 0.88) 100%
  );
}

.pillar:hover::before {
  height: 100%;
}

.pillar__index {
  display: block;
  margin-bottom: 1.5rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: var(--brand);
}

.pillar__title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
}

.pillar__text {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.82);
}

.pillar__more {
  display: inline-block;
  margin-top: auto;
  padding-top: 1.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

/* —— Group —— */
.section--group {
  padding: 2.5rem 0 2rem;
}

.group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
}

.group__copy {
  flex: 1 1 18rem;
  max-width: 36rem;
}

.group__copy .section__title {
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
}

.group__logo {
  width: min(100%, 340px);
  height: auto;
  display: block;
  flex: 0 0 auto;
}

.group-brands {
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.group-brands__title {
  margin: 0 0 1.15rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #6a6a6a;
}

.group-brands__list {
  display: grid;
  grid-template-columns: minmax(0, 22rem);
  gap: 0.85rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.group-brands__list a {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr) auto;
  align-items: center;
  gap: 0.85rem 1rem;
  min-height: 6.5rem;
  padding: 1rem 1.05rem;
  background: #fff;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.group-brands__list a:hover,
.group-brands__list a:focus-visible {
  border-color: rgba(238, 127, 7, 0.55);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(20, 20, 20, 0.06);
}

.group-brands__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.4rem;
  padding-right: 0.35rem;
  border-right: 1px solid var(--line);
}

.group-brands__mark img {
  display: block;
  width: 100%;
  max-width: 11rem;
  max-height: 2.85rem;
  object-fit: contain;
}

.group-brands__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.28rem;
  min-width: 0;
}

.group-brands__meta::before {
  content: "";
  width: 2.1rem;
  height: 2px;
  background: var(--brand);
}

.group-brands__name {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.group-brands__url {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.group-brands__arrow {
  color: #8a8a8a;
  font-size: 1.05rem;
  transition: transform 0.25s var(--ease), color 0.25s var(--ease);
}

.group-brands__list a:hover .group-brands__arrow,
.group-brands__list a:focus-visible .group-brands__arrow {
  color: var(--brand);
  transform: translateX(4px);
}

@media (max-width: 900px) {
  .group-brands__list {
    grid-template-columns: 1fr;
  }
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--brand);
  line-height: 1.1;
}

.stat span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* —— Page hero (inner) —— */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 3.5rem) 0 3rem;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
  overflow: hidden;
}

.page-hero--cover {
  min-height: clamp(480px, 82vh, 900px);
  display: grid;
  align-items: end;
  padding: calc(var(--header-h) + 3rem) 0 3rem;
  border-bottom: 0;
  color: #fff;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #1a1a1a;
  /* keep image sharp; avoid stretch distortion */
  transform: none;
}

.page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.45) 45%,
    rgba(0, 0, 0, 0.72) 100%
  );
}

.page-hero--design .page-hero__bg {
  background-image: url("../assets/images/pillar-design.jpg");
  background-position: center 42%;
}

.page-hero--production .page-hero__bg {
  background-image: url("../assets/images/production-cover-welding.jpg");
  background-position: center 45%;
}

.page-hero--sales .page-hero__bg {
  background-image: url("../assets/images/pillar-sales.jpg");
  background-position: center 45%;
}

.page-hero--service .page-hero__bg {
  background-image: url("../assets/images/pillar-service.jpg");
  background-position: center 40%;
}

.page-hero--design.page-hero--cover,
.page-hero--production.page-hero--cover,
.page-hero--sales.page-hero--cover,
.page-hero--service.page-hero--cover {
  min-height: clamp(280px, 48vh, 540px);
  padding: calc(var(--header-h) + 1.75rem) 0 2rem;
}

.page-hero--contact .page-hero__bg {
  background-image: url("../assets/images/contact-cover.jpg");
  background-position: center center;
}

.page-hero--contact.page-hero--cover {
  min-height: clamp(320px, 48vh, 520px);
}

.page-hero--projects .page-hero__bg {
  background-image: url("../assets/images/projects-cover.jpg");
  background-position: center center;
}

.page-hero--projects.page-hero--cover {
  min-height: clamp(320px, 48vh, 520px);
}

.page-hero--catalog .page-hero__bg {
  background-image: url("../assets/images/hero-cover.jpg?v=4");
  background-position: center 40%;
}

.page-hero--catalog.page-hero--cover {
  min-height: clamp(300px, 44vh, 480px);
}

/* —— Catalog —— */
.catalog {
  padding: 3rem 0 4.5rem;
}

.catalog__intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  margin-bottom: 2rem;
}

.catalog__intro .section__text {
  max-width: 46rem;
  line-height: 1.7;
}

.catalog__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  flex-shrink: 0;
}

.catalog-viewer {
  position: relative;
  padding: 2.5rem 1rem 1.25rem;
  background:
    radial-gradient(ellipse 60% 55% at 50% 40%, rgba(238, 127, 7, 0.16), transparent 70%),
    linear-gradient(180deg, #1c1c1c 0%, #101010 100%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.catalog-viewer__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.catalog-viewer__book {
  width: 100%;
  flex: 1 1 auto;
  max-width: min(1040px, calc((100vh - 17rem) * 1.414));
}

.catalog-page {
  background: #fff;
  overflow: hidden;
}

.catalog-page img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
}

.catalog-viewer__side {
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.catalog-viewer__side:hover {
  background: var(--brand);
  border-color: var(--brand);
}

.catalog-viewer__bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 1.5rem;
  color: #fff;
}

.catalog-viewer__btn {
  min-width: 2.4rem;
  height: 2.4rem;
  padding: 0 0.5rem;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  color: #fff;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.catalog-viewer__btn:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.catalog-viewer__count {
  min-width: 8.5rem;
  padding: 0 0.75rem;
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.75);
}

.catalog-viewer__count strong {
  color: #fff;
}

.catalog-viewer__sep {
  width: 1px;
  height: 1.6rem;
  margin: 0 0.5rem;
  background: rgba(255, 255, 255, 0.18);
}

.catalog-viewer__thumbs {
  position: relative;
  display: flex;
  gap: 0.6rem;
  margin-top: 1.25rem;
  padding: 0.5rem 0.25rem 0.75rem;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
}

.catalog-viewer__thumb {
  position: relative;
  flex: 0 0 auto;
  width: 72px;
  padding: 0;
  border: 2px solid transparent;
  background: none;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.2s, border-color 0.2s, transform 0.2s;
}

.catalog-viewer__thumb img {
  display: block;
  width: 100%;
  height: auto;
}

.catalog-viewer__thumb span {
  position: absolute;
  right: 3px;
  bottom: 3px;
  padding: 0 4px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 0.65rem;
  line-height: 1.4;
}

.catalog-viewer__thumb:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.catalog-viewer__thumb.is-active {
  opacity: 1;
  border-color: var(--brand);
}

.catalog-viewer.is-full {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem;
  overflow: auto;
}

.catalog-viewer.is-full .catalog-viewer__book {
  max-width: calc((100vh - 13rem) * 1.414);
}

@media (max-width: 760px) {
  .catalog__intro {
    flex-direction: column;
    align-items: flex-start;
  }

  .catalog-viewer {
    padding: 1.25rem 0.5rem 1rem;
  }

  .catalog-viewer__side {
    display: none;
  }

  .catalog-viewer__thumb {
    width: 56px;
  }
}

.page-hero--about .page-hero__bg {
  background-image: url("../assets/images/about-cover.jpg");
  background-position: center center;
}

.page-hero--about.page-hero--cover {
  min-height: clamp(320px, 48vh, 520px);
}

.page-hero__content {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.page-hero--cover h1 {
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.page-hero p {
  margin: 0;
  max-width: 40rem;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.page-hero--cover p {
  color: rgba(255, 255, 255, 0.88);
}

.page-hero--cover .section__label {
  color: var(--brand);
}

.page-hero--cover .section__label--mark {
  color: inherit;
}

.page-body {
  padding: 2rem 0 2.5rem;
}

.about-prose {
  max-width: none;
}

.about-prose .section__text {
  margin: 0 0 1.35rem;
  line-height: 1.7;
  color: var(--text);
  text-align: left;
}

.about-prose .section__text:last-child {
  margin-bottom: 0;
}

.about-prose__heading,
.about-mv__title {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--brand);
}

.about-mv {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.about-mv__card {
  padding: 1.75rem 1.6rem;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.05);
}

.about-mv__text {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
}

@media (max-width: 760px) {
  .about-mv {
    grid-template-columns: 1fr;
  }
}

.page-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 16.5rem);
  gap: 2.5rem 3rem;
  align-items: start;
}

.page-body--projects {
  position: relative;
  padding: 2.75rem 0 3.5rem;
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(238, 127, 7, 0.07), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 100%, rgba(20, 20, 20, 0.04), transparent 50%),
    linear-gradient(180deg, #f6f6f6 0%, #ffffff 42%, #f8f8f8 100%);
  overflow: hidden;
}

.page-body--projects::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(20, 20, 20, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 20, 20, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 88%);
  pointer-events: none;
}

.page-split--projects {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 16.5rem);
  align-items: start;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.65rem 1.4rem;
}

.project-card {
  --d: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: #fff;
  isolation: isolate;
  box-shadow: 0 1px 0 rgba(20, 20, 20, 0.04);
  transition:
    transform 0.55s var(--ease),
    box-shadow 0.55s var(--ease);
}

.project-card::before,
.project-card::after {
  content: "";
  position: absolute;
  width: 1.15rem;
  height: 1.15rem;
  border-color: var(--brand);
  border-style: solid;
  opacity: 0;
  z-index: 3;
  pointer-events: none;
  transition:
    opacity 0.35s var(--ease),
    width 0.45s var(--ease),
    height 0.45s var(--ease);
}

.project-card::before {
  top: 0.55rem;
  left: 0.55rem;
  border-width: 2px 0 0 2px;
}

.project-card::after {
  right: 0.55rem;
  bottom: 0.55rem;
  border-width: 0 2px 2px 0;
}

.project-card.reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition:
    opacity 0.45s var(--ease),
    transform 0.45s var(--ease),
    box-shadow 0.55s var(--ease);
  transition-delay: calc(var(--d) * 0.03s);
}

.project-card.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.project-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #fafafa 0%, #ececec 100%);
  transition: background 0.55s var(--ease);
}

.project-card__media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 90%;
  height: 90%;
  margin: 0 auto;
  object-fit: contain;
  object-position: center center;
  padding: 0;
  transform: scale(1) translateY(0);
  transition: transform 0.85s var(--ease), filter 0.55s var(--ease);
}

/* Slightly smaller so tall/square products sit fully in the frame */
.project-card__media img.is-fit {
  width: 82%;
  height: 82%;
}

.project-card__glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(238, 127, 7, 0.14);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s var(--ease);
  transform: none;
  filter: none;
  width: auto;
  height: auto;
  left: auto;
  top: auto;
  translate: none;
}

.project-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  padding: 1.15rem 1.2rem 1.25rem;
  border-top: 1px solid rgba(20, 20, 20, 0.06);
  background: #fff;
}

.project-card__body h2 {
  position: relative;
  margin: 0;
  padding-bottom: 0.55rem;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  letter-spacing: -0.015em;
}

.project-card__body h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 1.75rem;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0.45);
  transform-origin: left center;
  transition: transform 0.45s var(--ease), width 0.45s var(--ease);
}

.project-card__body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.35s var(--ease);
}

.project-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 0.85rem;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
}

.project-card__arrow {
  position: relative;
  display: block;
  width: 1.35rem;
  height: 1px;
  background: currentColor;
  transition: width 0.4s var(--ease), transform 0.4s var(--ease);
}

.project-card__arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 0.42rem;
  height: 0.42rem;
  border-right: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

.project-card:hover,
.project-card:focus-visible {
  transform: translateY(-10px);
  box-shadow:
    0 22px 48px rgba(20, 20, 20, 0.12),
    0 0 0 1px rgba(238, 127, 7, 0.18);
  outline: none;
  background: #fffaf4;
}

.project-card.reveal.is-visible:hover,
.project-card.reveal.is-visible:focus-visible {
  transform: translateY(-10px);
}

.project-card:hover::before,
.project-card:hover::after,
.project-card:focus-visible::before,
.project-card:focus-visible::after {
  opacity: 1;
  width: 1.55rem;
  height: 1.55rem;
}

.project-card:hover .project-card__media img,
.project-card:focus-visible .project-card__media img {
  transform: scale(1.05) translateY(-3px);
  filter: saturate(1.05);
}

.project-card:hover .project-card__media,
.project-card:focus-visible .project-card__media {
  background: linear-gradient(
    160deg,
    rgba(255, 244, 230, 0.95) 0%,
    rgba(255, 236, 214, 0.98) 100%
  );
}

.project-card:hover .project-card__body,
.project-card:focus-visible .project-card__body {
  background: #fffaf4;
  border-top-color: rgba(238, 127, 7, 0.12);
}

.project-card:hover .project-card__glow,
.project-card:focus-visible .project-card__glow {
  opacity: 1;
}

.project-card:hover .project-card__body h2::after,
.project-card:focus-visible .project-card__body h2::after {
  transform: scaleX(1);
  width: 2.75rem;
}

.project-card:hover .project-card__arrow,
.project-card:focus-visible .project-card__arrow {
  width: 1.85rem;
  transform: translateX(4px);
}

.page-hero--project.page-hero--cover {
  min-height: clamp(220px, 38vh, 420px);
  padding: calc(var(--header-h) + 1.25rem) 0 1.5rem;
  background: linear-gradient(125deg, #3a3a3a 0%, #5a5a5a 48%, #454545 100%);
}

.page-hero--project .page-hero__bg {
  background-color: transparent;
  background-position: 88% 78%;
  background-size: auto 72%;
  background-repeat: no-repeat;
  opacity: 0.28;
  filter: grayscale(0.15);
}

.page-hero--project .page-hero__bg::after {
  background: linear-gradient(
    100deg,
    rgba(42, 42, 42, 0.96) 0%,
    rgba(55, 55, 55, 0.78) 42%,
    rgba(70, 70, 70, 0.28) 100%
  );
}

.page-hero--project + .page-body {
  background: linear-gradient(180deg, #e9e9e9 0%, #f3f3f3 38%, #fafafa 100%);
  padding-top: 2.25rem;
  padding-bottom: 3rem;
}

.project-back {
  display: inline-block;
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(238, 127, 7, 0.7);
  padding-bottom: 0.1rem;
  transition: color 0.2s;
}

.project-back:hover {
  color: #fff;
}

.project-detail {
  display: grid;
  gap: 1.5rem;
}

.project-detail__figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(20, 20, 20, 0.08);
  background: linear-gradient(160deg, #f0f0f0 0%, #dcdcdc 100%);
}

.project-detail__figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  padding: 1.25rem;
}

.project-detail .section__text {
  color: var(--text);
  line-height: 1.75;
  font-size: 1.02rem;
}

@media (max-width: 900px) {
  .page-split--projects {
    grid-template-columns: 1fr;
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
  }
}

@media (max-width: 560px) {
  .project-grid {
    grid-template-columns: 1fr;
  }

  .page-body--projects {
    padding: 2rem 0 2.75rem;
  }
}

.page-split__main {
  min-width: 0;
  text-align: left;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 22rem) minmax(0, 1fr) 16rem;
  gap: 2.5rem 2rem;
  align-items: start;
}

.contact-map {
  min-width: 0;
  max-width: 100%;
}

.contact-layout > .site-contents {
  width: 16rem;
  max-width: 16rem;
  justify-self: end;
  box-sizing: border-box;
}

.site-contents {
  margin: 0;
  padding: 0.15rem 0 0;
  min-width: 0;
}

.site-contents__title {
  margin: 0 0 0.85rem;
  padding-bottom: 0.85rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #6a6a6a;
  border-bottom: 1px dotted rgba(20, 20, 20, 0.28);
}

.site-contents__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-contents__list a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.05rem 0 0.95rem;
  color: #5a5a5a;
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid rgba(20, 20, 20, 0.1);
  transition: color 0.25s var(--ease);
}

.site-contents__list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 22%;
  height: 2px;
  background: var(--brand);
  transform-origin: left center;
  transition: width 0.35s var(--ease), background-color 0.25s var(--ease);
}

.site-contents__arrow {
  flex-shrink: 0;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0;
  color: #8a8a8a;
  transition: transform 0.3s var(--ease), color 0.25s var(--ease);
}

.site-contents__list a:hover,
.site-contents__list a:focus-visible {
  color: var(--text);
}

.site-contents__list a:hover::after,
.site-contents__list a:focus-visible::after {
  width: 38%;
}

.site-contents__list a:hover .site-contents__arrow,
.site-contents__list a:focus-visible .site-contents__arrow {
  color: var(--brand);
  transform: translateX(4px);
}

.site-contents__list a[aria-current="page"] {
  color: var(--text);
}

.site-contents__list a[aria-current="page"]::after {
  width: 30%;
}

.contact-block {
  margin-top: 0;
  display: grid;
  gap: 1.75rem;
  max-width: none;
}

.contact-block__item h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
}

.contact-block__item p {
  margin: 0;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.55;
}

.contact-block__item p:has(a[href^="mailto:"]) {
  white-space: nowrap;
}

.contact-block__address {
  white-space: pre-line;
}

.contact-block__item a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  white-space: nowrap;
}

.contact-block__item a:hover {
  color: var(--brand);
}

.contact-block__sep {
  margin: 0 0.35rem;
  color: var(--text-muted);
}

.contact-map h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
}

.contact-map__frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #e8e8e8;
  min-height: 360px;
  aspect-ratio: 16 / 11;
}

.contact-map__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.contact-map__hit {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  z-index: 2;
  padding: 0.55rem 0.85rem;
  background: #fff;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition: color 0.2s, border-color 0.2s;
}

.contact-map__hit:hover {
  color: var(--brand);
  border-color: rgba(238, 127, 7, 0.45);
}

@media (max-width: 1100px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1fr) 16.5rem;
    gap: 2rem 2.25rem;
  }

  .contact-block {
    grid-column: 1 / -1;
  }

  .contact-layout > .site-contents {
    width: 16.5rem;
    max-width: 16.5rem;
  }
}

@media (max-width: 900px) {
  .contact-layout,
  .page-split {
    grid-template-columns: 1fr;
  }

  .contact-block {
    grid-column: auto;
  }

  .contact-block__item p:has(a[href^="mailto:"]) {
    white-space: normal;
  }

  .contact-layout > .site-contents {
    width: 100%;
    max-width: 28rem;
    justify-self: start;
  }

  .contact-map__frame {
    min-height: 280px;
    aspect-ratio: 4 / 3;
  }

  .site-contents {
    max-width: 28rem;
  }
}

.footer-contact li {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.footer-contact a {
  color: var(--text-muted);
}

.footer-contact a:hover {
  color: var(--brand);
}

.placeholder-visual {
  min-height: 280px;
  margin: 2rem 0;
  border: 1px dashed rgba(238, 127, 7, 0.45);
  background: rgba(238, 127, 7, 0.04);
  display: grid;
  place-items: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  text-align: center;
  padding: 1.5rem;
}

/* —— CTA band —— */
.cta-band {
  padding: 1.25rem 1rem 1.75rem;
  background: var(--bg-panel);
  border-top: 1px solid var(--line);
}

.cta-band__inner {
  display: flex;
  justify-content: center;
  max-width: 20rem;
  margin: 0 auto;
}

.cta-band .btn {
  width: 100%;
  text-align: center;
}

/* —— Footer —— */
.site-footer {
  padding: 1.5rem 0 1.25rem;
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--text);
}

.site-footer:has(.footer-grid) {
  padding: 3.5rem 0 2rem;
  background: var(--bg-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.site-footer .logo {
  background: transparent;
  display: inline-flex;
  padding: 0;
  margin-bottom: 1rem;
}

.site-footer .logo img {
  height: 88px;
  margin-bottom: 0;
  background: transparent;
  padding: 0;
}

.site-footer p,
.site-footer a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.site-footer .footer-grid > div:first-child > p {
  font-size: 1.05rem;
}

.site-footer h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
}

.site-footer li + li {
  margin-top: 0.45rem;
}

.site-footer a:hover {
  color: var(--brand);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--text-muted);
}

/* —— Reveal —— */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* —— Responsive —— */
@media (max-width: 980px) {
  .pillars {
    grid-template-columns: 1fr 1fr;
  }

  .group {
    flex-direction: column;
    align-items: flex-start;
  }

  .group__logo {
    width: min(100%, 260px);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1180px) {
  .nav {
    display: none;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  body.nav-open .nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    padding: 1rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    gap: 0.15rem;
    max-height: calc(100vh - var(--header-h));
    overflow: auto;
  }

  body.nav-open .nav-drop__menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    padding-left: 0.75rem;
    display: none;
  }

  body.nav-open .nav-drop.is-open .nav-drop__menu {
    display: block;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 5.5rem;
  }

  .logo img {
    height: 60px;
  }

  .pillars {
    grid-template-columns: 1fr;
  }

  .stat-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: calc(var(--header-h) + 1.75rem) 0 2.5rem;
    min-height: min(70vh, 560px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .intro {
    display: none;
  }

  body.is-intro-lock {
    overflow: auto;
  }

  .hero__bg {
    animation: none;
    transform: none;
  }

  .site-header,
  .hero__content,
  .reveal {
    opacity: 1;
    transform: none;
  }
}
