/* Home page: calm, image-led layout. Self-contained; does not depend on styles.css. */

:root {
  --lx-ink: #16243a;
  --lx-navy: #16243a;
  --lx-navy-deep: #0f1a2b;
  --lx-muted: #5d6675;
  --lx-line: #e2d9c8;
  --lx-paper: #ffffff;
  --lx-stone: #f5f0e6;
  --lx-beige: #e8dfcd;
  --lx-footer: #16243a;
  --lx-serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --lx-sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --lx-gutter: clamp(16px, 5vw, 72px);
  --lx-max: 1240px;
  --lx-header-h: 84px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.lx {
  margin: 0;
  background: var(--lx-paper);
  color: var(--lx-ink);
  font-family: var(--lx-sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.lx-menu-open {
  overflow: hidden;
}

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

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

.lx h1,
.lx h2,
.lx h3 {
  margin: 0;
  font-family: var(--lx-serif);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.15;
}

.lx p {
  margin: 0 0 1em;
}

/* Small uppercase label above headings */
.lx-eyebrow {
  margin: 0 0 18px !important;
  font-family: var(--lx-sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lx-muted);
}

/* Underlined text link, like "Discover more" */
.lx-link {
  display: inline-block;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  font-family: var(--lx-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: opacity 0.2s ease;
}


.lx-link-light {
  color: #fff !important;
}

.lx-center {
  margin-top: 56px;
  text-align: center;
}

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

.lx-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  color: #fff;
  background: linear-gradient(to bottom, rgba(15, 26, 43, 0.5), rgba(15, 26, 43, 0));
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.lx-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: var(--lx-header-h);
  padding: 0 var(--lx-gutter);
}

.lx-logo img {
  width: clamp(220px, 22vw, 320px);
  height: auto;
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

.lx-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 44px);
}

.lx-nav a {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: opacity 0.2s ease;
}

.lx-nav a:hover,
.lx-nav a:focus-visible {
  opacity: 0.65;
}

.lx-nav .lx-nav-cta {
  padding: 10px 18px;
  border: 1px solid currentColor;
}

.lx-header.is-solid {
  background: rgba(255, 255, 255, 0.97);
  color: var(--lx-ink);
  box-shadow: 0 1px 0 var(--lx-line);
}

.lx-header.is-solid .lx-logo img {
  filter: none;
}

.lx-header.is-solid .lx-nav-cta {
  background: var(--lx-navy);
  border-color: var(--lx-navy);
  color: #fff;
}

.lx-menu-button {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
}

.lx-menu-icon,
.lx-menu-icon::before,
.lx-menu-icon::after {
  display: block;
  width: 20px;
  height: 1px;
  background: currentColor;
}

.lx-menu-icon {
  position: relative;
}

.lx-menu-icon::before,
.lx-menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.lx-menu-icon::before {
  top: -6px;
}

.lx-menu-icon::after {
  top: 6px;
}

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

.lx-hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100svh;
  overflow: hidden;
  color: #fff;
  text-align: center;
  background: var(--lx-navy-deep);
}

.lx-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none !important;
  object-fit: cover;
}

.lx-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15, 26, 43, 0.55), rgba(15, 26, 43, 0.68));
}

.lx-hero-content {
  position: relative;
  z-index: 1;
  padding: var(--lx-header-h) var(--lx-gutter) 0;
}

.lx-hero .lx-eyebrow {
  color: var(--lx-beige);
}

.lx-hero h1 {
  margin-bottom: 40px;
  font-size: clamp(40px, 6.5vw, 88px);
  letter-spacing: 0.08em;
}

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

.lx-intro {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: clamp(40px, 7vw, 110px);
  max-width: var(--lx-max);
  margin: 0 auto;
  padding: clamp(80px, 11vw, 150px) var(--lx-gutter);
}

.lx-intro-media {
  margin: 0;
}

.lx-intro-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.lx-intro-copy h2 {
  margin-bottom: 28px;
  font-size: clamp(30px, 3.4vw, 44px);
}

.lx-intro-copy p:not(.lx-eyebrow) {
  max-width: 46ch;
  color: var(--lx-muted);
}

.lx-intro-copy .lx-link {
  margin-top: 16px;
}

/* ---------- Section headings ---------- */

.lx-section-heading {
  margin-bottom: clamp(40px, 5vw, 64px);
  text-align: center;
}

.lx-section-heading h2 {
  font-size: clamp(30px, 3.4vw, 44px);
}

/* ---------- Services ---------- */

.lx-services {
  padding: clamp(80px, 10vw, 130px) var(--lx-gutter);
  background: var(--lx-stone);
}

.lx-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--lx-max);
  margin: 0 auto;
  border-top: 1px solid var(--lx-line);
}

.lx-services-grid article {
  padding: 36px 28px 8px 0;
}

.lx-services-grid article + article {
  padding-left: 28px;
  border-left: 1px solid var(--lx-line);
}

.lx-number {
  display: block;
  margin-bottom: 18px;
  font-family: var(--lx-serif);
  font-size: 18px;
  color: #a8956f;
}

.lx-services-grid h3 {
  margin-bottom: 14px;
  font-size: 22px;
}

.lx-services-grid p {
  font-size: 15px;
  color: var(--lx-muted);
}

/* ---------- Projects ---------- */

.lx-projects {
  max-width: calc(var(--lx-max) + 2 * var(--lx-gutter));
  margin: 0 auto;
  padding: clamp(80px, 11vw, 150px) var(--lx-gutter);
}

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

.lx-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  margin-bottom: 22px;
  transition: opacity 0.3s ease;
}


.lx-card h3 {
  margin-bottom: 6px;
  font-size: 22px;
}

.lx-card p {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lx-muted);
}

/* ---------- Banner ---------- */

.lx-banner {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(420px, 60vw, 640px);
  margin: 0 var(--lx-gutter) clamp(80px, 10vw, 130px);
  overflow: hidden;
  color: #fff;
  text-align: center;
}

.lx-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none !important;
  object-fit: cover;
}

.lx-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 26, 43, 0.62);
}

.lx-banner-content {
  position: relative;
  z-index: 1;
  padding: 0 var(--lx-gutter);
}

.lx-banner h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 3.6vw, 48px);
}

.lx-banner p {
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.85);
}

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

.lx-footer {
  padding: 72px var(--lx-gutter) 32px;
  background: var(--lx-footer);
  color: rgba(255, 255, 255, 0.82);
}

.lx-footer h3 {
  color: var(--lx-beige);
}

.lx-footer-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 56px;
}

.lx-footer-brand img {
  width: min(320px, 80%);
  height: auto;
  filter: brightness(0) invert(1);
}

.lx-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: var(--lx-max);
  margin: 0 auto;
}

.lx-footer h3 {
  margin-bottom: 16px;
  font-family: var(--lx-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
}

.lx-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lx-footer li,
.lx-footer address {
  font-size: 12px;
  font-style: normal;
  letter-spacing: 0.12em;
  line-height: 2.1;
  text-transform: uppercase;
}

.lx-footer a:hover,
.lx-footer a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.lx-footer-bottom {
  max-width: var(--lx-max);
  margin: 56px auto 0 !important;
  padding-top: 24px;
  border-top: 1px solid rgba(232, 223, 205, 0.25);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

/* ---------- Focus ---------- */

.lx a:focus-visible,
.lx button:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 4px;
}

/* ---------- Tablet ---------- */

@media (max-width: 1024px) {
  .lx-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lx-services-grid article:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .lx-services-grid article:nth-child(n + 3) {
    border-top: 1px solid var(--lx-line);
  }

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

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

/* ---------- Mobile ---------- */

@media (max-width: 820px) {
  :root {
    --lx-header-h: 68px;
  }

  .lx-logo img {
    width: 200px;
  }

  .lx-menu-button {
    display: inline-flex;
    position: relative;
    z-index: 2;
  }

  .lx-nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    background: var(--lx-paper);
    color: var(--lx-ink);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }

  .lx-nav a {
    font-size: 14px;
  }

  .lx-header.is-open .lx-nav {
    opacity: 1;
    visibility: visible;
  }

  .lx-header.is-open {
    color: var(--lx-ink);
  }

  .lx-header.is-open .lx-logo {
    position: relative;
    z-index: 2;
  }

  .lx-header.is-open .lx-logo img {
    filter: none;
  }

  .lx-intro {
    grid-template-columns: 1fr;
  }

  .lx-services-grid {
    grid-template-columns: 1fr;
  }

  .lx-services-grid article,
  .lx-services-grid article + article {
    padding: 28px 0 4px;
    border-left: 0;
  }

  .lx-services-grid article + article {
    border-top: 1px solid var(--lx-line);
  }

  .lx-projects-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .lx-card img {
    aspect-ratio: 4 / 3;
  }

  .lx-banner {
    margin-left: 0;
    margin-right: 0;
  }

  .lx-footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .lx *,
  .lx *::before,
  .lx *::after {
    transition: none !important;
  }
}

/* ---------- Phone refinements ---------- */

.lx-nav-extra,
.lx-mobile-bar {
  display: none;
}

@media (max-width: 820px) {
  body.lx {
    font-size: 16px;
  }

  /* Bigger tap areas */
  .lx-logo {
    display: flex;
    align-items: center;
    min-height: 48px;
  }

  .lx-logo img {
    width: min(210px, 58vw);
  }

  .lx-menu-button {
    min-height: 48px;
    padding: 0 0 0 12px;
  }

  .lx-header.is-open .lx-menu-icon {
    background: transparent;
  }

  .lx-header.is-open .lx-menu-icon::before {
    top: 0;
    transform: rotate(45deg);
  }

  .lx-header.is-open .lx-menu-icon::after {
    top: 0;
    transform: rotate(-45deg);
  }

  /* Full-screen menu: large, left-aligned, easy to tap */
  .lx-nav {
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: calc(var(--lx-header-h) + 24px) var(--lx-gutter) 32px;
    overflow-y: auto;
  }

  .lx-nav a {
    display: flex;
    align-items: center;
    min-height: 60px;
    border-bottom: 1px solid var(--lx-line);
    font-family: var(--lx-serif);
    font-size: 26px;
    letter-spacing: 0.06em;
  }

  .lx-nav a[aria-current="page"] {
    color: #a8956f;
  }

  .lx-nav .lx-nav-cta {
    justify-content: center;
    margin-top: 28px;
    padding: 0;
    border: 1px solid var(--lx-navy);
    background: var(--lx-navy);
    color: #fff;
    font-family: var(--lx-sans);
    font-size: 13px;
    letter-spacing: 0.2em;
  }

  .lx-nav .lx-nav-extra {
    display: flex;
  }

  .lx-nav .lx-nav-call {
    justify-content: center;
    margin-top: 12px;
    border: 1px solid var(--lx-navy);
    font-family: var(--lx-sans);
    font-size: 13px;
    letter-spacing: 0.2em;
  }

  /* Text links: keep the look, enlarge the tap area */
  .lx-link {
    padding-top: 14px;
    font-size: 13px;
  }

  .lx-eyebrow {
    font-size: 12px;
    letter-spacing: 0.18em;
  }

  .lx-hero h1 {
    font-size: clamp(36px, 11vw, 52px);
  }

  .lx-hero-content {
    padding-bottom: 8vh;
  }

  .lx-intro {
    gap: 32px;
  }

  .lx-intro-copy p:not(.lx-eyebrow) {
    font-size: 16px;
  }

  .lx-services-grid p {
    font-size: 16px;
  }

  /* Featured projects: swipeable row instead of a long column */
  .lx-projects {
    padding-left: 0;
    padding-right: 0;
  }

  .lx-projects .lx-section-heading,
  .lx-projects .lx-center {
    padding: 0 var(--lx-gutter);
  }

  .lx-projects-grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 0 var(--lx-gutter) 8px;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 var(--lx-gutter);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .lx-projects-grid::-webkit-scrollbar {
    display: none;
  }

  .lx-projects-grid .lx-card {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }

  .lx-card img {
    aspect-ratio: 4 / 5;
    margin-bottom: 16px;
  }

  .lx-card h3 {
    font-size: 20px;
  }

  .lx-swipe-hint {
    display: block;
    margin: 0 0 20px;
    padding: 0 var(--lx-gutter);
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--lx-muted);
    text-align: center;
  }

  .lx-banner {
    min-height: 460px;
  }

  /* Footer: left-aligned two-column grid with comfortable tap targets */
  .lx-footer {
    padding-top: 56px;
    padding-bottom: 32px;
  }

  .lx-footer-brand {
    justify-content: flex-start;
    margin-bottom: 40px;
  }

  .lx-footer-brand img {
    width: 220px;
  }

  .lx-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
    text-align: left;
  }

  .lx-footer li,
  .lx-footer address {
    font-size: 13px;
    letter-spacing: 0.08em;
    line-height: 1.6;
  }

  .lx-footer li a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
  }

  .lx-footer li:not(:has(a)) {
    padding: 6px 0;
  }

  .lx-footer-bottom {
    margin-top: 40px !important;
    text-align: left;
    line-height: 1.8;
  }

  /* Sticky call / email bar */
  .lx-mobile-bar {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--lx-navy);
    box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.08);
  }

  .lx-mobile-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 56px;
    color: #fff;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
  }

  .lx-mobile-bar a + a {
    border-left: 1px solid rgba(255, 255, 255, 0.15);
  }

  .lx-mobile-bar svg {
    width: 18px;
    height: 18px;
    flex: none;
  }

  body.lx-has-bar {
    padding-bottom: calc(56px + env(safe-area-inset-bottom));
  }

  body.lx-menu-open .lx-mobile-bar {
    display: none;
  }
}

@media (min-width: 821px) {
  .lx-swipe-hint {
    display: none;
  }
}

/* ---------- Hover effects (interactive elements only) ---------- */

/* Card photo frames: the photo zooms gently inside a fixed frame */
.lx-card-media,
.showcase-media,
.lx-inner .project-image {
  display: block;
  overflow: hidden;
  margin-bottom: 22px;
}

.lx-card-media img,
.showcase-media img,
.lx-inner .project-image img {
  margin-bottom: 0 !important;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.3s ease !important;
}

@media (max-width: 820px) {
  .lx-card-media,
  .showcase-media,
  .lx-inner .project-image {
    margin-bottom: 16px;
  }
}

/* Line that grows under nav and footer links */
.lx-nav a:not(.lx-nav-cta):not(.lx-nav-extra),
.lx-footer li a {
  position: relative;
}

.lx-nav a:not(.lx-nav-cta):not(.lx-nav-extra)::after,
.lx-footer li a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

/* Footer links: the line sits just under the text at every screen size */
.lx-footer li a {
  display: inline-block;
  padding: 2px 0;
  line-height: 1.6;
}

.lx-footer li a::after {
  bottom: 0;
}

@media (max-width: 820px) {
  .lx-footer li a {
    min-height: 0;
    padding: 10px 0;
  }

  .lx-footer li a::after {
    bottom: 8px;
  }
}

.lx-nav a[aria-current="page"]:not(.lx-nav-cta)::after {
  transform: scaleX(1);
}

@keyframes lx-underline-sweep {
  0% { transform: scaleX(1); transform-origin: right; }
  45% { transform: scaleX(0); transform-origin: right; }
  46% { transform: scaleX(0); transform-origin: left; }
  100% { transform: scaleX(1); transform-origin: left; }
}

/* Underlined text links: the underline sweeps out and back in */
.lx-link,
.lx-inner .portfolio-text-link {
  position: relative;
  border-bottom-color: transparent !important;
}

.lx-link::after,
.lx-inner .portfolio-text-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: currentColor;
}

.lx-inner .portfolio-text-link span[aria-hidden="true"] {
  display: inline-block;
  transition: transform 0.3s ease;
}

@media (hover: hover) {
  .lx-nav a:not(.lx-nav-cta):hover,
  .lx-nav a:not(.lx-nav-cta):focus-visible {
    opacity: 1;
  }

  .lx-nav a:not(.lx-nav-cta):not(.lx-nav-extra):hover::after,
  .lx-footer li a:hover::after {
    transform: scaleX(1);
  }

  .lx-footer a:hover {
    text-decoration: none;
  }

  .lx-link:hover,
  .lx-inner .portfolio-text-link:hover {
    opacity: 1;
  }

  .lx-link:hover::after,
  .lx-inner .portfolio-text-link:hover::after {
    animation: lx-underline-sweep 0.6s ease;
  }

  .lx-inner .portfolio-text-link:hover span[aria-hidden="true"] {
    transform: translateX(-4px);
  }

  .lx-inner .portfolio-text-link:hover span[aria-hidden="true"]:last-child:not(:first-child) {
    transform: translateX(4px);
  }

  /* Logo */
  .lx-logo img {
    transition: filter 0.3s ease, opacity 0.25s ease;
  }

  .lx-logo:hover img {
    opacity: 0.75;
  }

  /* Buttons: gentle lift and colour change */
  .lx-nav .lx-nav-cta,
  .lx-inner .contact-map-actions a {
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  }

  /* Filter buttons stay put: colour change only, no lift */
  .lx-inner .filter-button,
  .lx-inner .project-clear-filters {
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  }

  .lx-nav .lx-nav-cta:hover {
    opacity: 1;
    background: #fff;
    border-color: #fff;
    color: var(--lx-navy);
    transform: translateY(-1px);
  }

  .lx-header.is-solid .lx-nav-cta:hover {
    background: #22355a;
    border-color: #22355a;
    color: #fff;
    box-shadow: 0 6px 16px rgba(22, 36, 58, 0.18);
  }

  .lx-inner .contact-map-actions a:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(22, 36, 58, 0.12);
  }

  .lx-inner .filter-button:not(.active):hover {
    background: var(--lx-stone);
  }

  /* Cards: photo zooms slightly, title shifts to the accent colour */
  .lx-card:hover img,
  .showcase-card:hover img,
  .lx-inner .project-card a:hover .project-image img {
    transform: scale(1.04);
    opacity: 1 !important;
  }

  .lx-card h3,
  .lx-inner .project-card h3,
  .showcase-card h3 {
    transition: color 0.3s ease;
  }

  .lx-card:hover h3,
  .lx-inner .project-card a:hover h3,
  .showcase-card:hover h3 {
    color: #a8956f;
  }

  /* Gallery photos open the viewer: brighten slightly */
  .lx-inner .project-gallery img {
    transition: filter 0.3s ease, opacity 0.2s ease;
  }

  .lx-inner .project-gallery img:hover {
    opacity: 1;
    filter: brightness(1.08);
  }

  /* Contact links */
  .lx-inner a.contact-method-link,
  .lx-inner .contact-method-link a,
  .lx-inner .contact-visit-copy address a {
    transition: color 0.25s ease, border-color 0.25s ease;
  }

  .lx-inner a.contact-method-link:hover,
  .lx-inner .contact-method-link a:hover,
  .lx-inner .contact-visit-copy address a:hover {
    color: #a8956f;
  }

  /* Small controls */
  .lx-menu-button .lx-menu-icon::before,
  .lx-menu-button .lx-menu-icon::after {
    transition: top 0.25s ease, transform 0.25s ease;
  }

  .lx-header:not(.is-open) .lx-menu-button:hover .lx-menu-icon::before {
    top: -8px;
  }

  .lx-header:not(.is-open) .lx-menu-button:hover .lx-menu-icon::after {
    top: 8px;
  }

  .lx-inner .project-search-clear {
    transition: color 0.2s ease, transform 0.25s ease;
  }

  .lx-inner .project-search-clear:hover {
    transform: translateY(-50%) rotate(90deg);
  }

  .lx-lightbox-close {
    transition: opacity 0.2s ease;
  }

  /* Only the arrow grows, so the tall click area never covers the Close button */
  .lx-lightbox-nav span {
    transition: transform 0.2s ease;
  }

  .lx-lightbox-nav:hover span {
    transform: scale(1.2);
  }

  .lx-lightbox-close:hover {
    opacity: 0.7;
  }
}

/* Touch screens: brief feedback when tapping */
@media (hover: none) {
  .lx-mobile-bar a:active,
  .lx-inner .filter-button:active,
  .lx-nav a:active,
  .lx-link:active {
    opacity: 0.6;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lx *,
  .lx *::before,
  .lx *::after {
    animation: none !important;
  }

  .lx-card:hover img,
  .showcase-card:hover img,
  .lx-inner .project-card a:hover .project-image img {
    transform: none;
  }
}

/* Phone menu rows already have dividers and a gold current page: no underline */
@media (max-width: 820px) {
  .lx-nav a::after {
    display: none;
  }
}
