:root {
  --text: #17191d;
  --muted: rgba(23, 25, 29, 0.62);
  --line: rgba(255, 255, 255, 0.55);
  --glass: rgba(244, 244, 244, 0.58);
  --glass-strong: rgba(249, 249, 249, 0.76);
  --shadow: 0 24px 70px rgba(28, 31, 37, 0.13);
  --radius-large: 32px;
  --radius-medium: 22px;
}

html {
  color-scheme: light;
  background: #e9eaec;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  color-scheme: light;
  forced-color-adjust: none;
}


* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: #e9eaec;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.window {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
}

.background-scene {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(rgba(245, 245, 246, 0.28), rgba(245, 245, 246, 0.5)),
    url("images/b_15.JPG") center / cover no-repeat,
    radial-gradient(circle at 48% 42%, #f8f8f8 0, #d3d6da 45%, #aeb4ba 100%);
  transform: scale(1.03);
}

.background-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 40%, transparent 0 28%, rgba(232, 234, 237, 0.12) 100%),
    linear-gradient(90deg, rgba(255,255,255,.18), transparent 35%, rgba(255,255,255,.1));
}

.glass-panel {
  border: 1px solid rgba(255, 255, 255, 0.82);
  background-color: rgba(247, 247, 247, 0.92);
  background-image: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.40),
    rgba(238, 240, 242, 0.18)
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 24px 70px rgba(28, 31, 37, 0.13);
  -webkit-backdrop-filter: blur(16px) saturate(108%);
  backdrop-filter: blur(16px) saturate(108%);
}

.site-header {
  position: relative;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  margin: 20px auto 0;
  padding: 2px 25px;
  border-radius: 23px;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.logo span {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  opacity: 0.55;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  position: relative;
  font-size: 1.05rem;
  color: rgba(23,25,29,.7);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -5px;
  height: 1px;
  background: var(--text);
  transition: right 180ms ease;
}

.nav-links a:hover::after {
  right: 0;
}

.menu-button {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 1.1rem; 
}


.site-header {
  color: #17191d;
  background-color: rgba(247, 247, 247, 0.664);
  isolation: isolate;
}

.site-header .logo,
.site-header .nav-links a,
.site-header .menu-button {
  color: #17191d;
}

.inner-page .site-header {
  z-index: 100;
}

.home-content {
  position: relative;
  z-index: 5;
  width: min(1180px, calc(100% - 40px));
  margin: 8vh auto 0;
  padding-bottom: 90px;
}

.hero {
  width: min(720px, 100%);
  padding: clamp(28px, 5vw, 58px);
  border-radius: var(--radius-large);
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  /*color: var(--muted);*/
  color: #000; 
}

.hero h1,
.page-intro h1,
.app-hero h1,
.contact-copy h1 {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.hero h1 {
  font-size: clamp(3.9rem, 8vw, 7.7rem);
}

.hero-description {
  max-width: 520px;
  margin: 28px 0 0;
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  line-height: 1.65;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 999px;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-dark {
  background: #1a1c20;
  color: #fff;
  box-shadow: 0 12px 30px rgba(17,19,23,.2);
}

.button-light {
  background: rgba(255,255,255,.5);
}

.floating-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 22px;
}

.floating-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  min-height: 180px;
  padding: 22px;
  border-radius: var(--radius-medium);
  transition:
    transform 220ms ease,
    background 220ms ease;
}

.floating-card:hover {
  transform: translateY(-7px) rotateX(1deg);
  background: rgba(255,255,255,.72);
}

.card-number,
.card-arrow {
  align-self: start;
  font-size: 0.74rem;
  opacity: 0.52;
}

.floating-card p {
  margin: 0 0 5px;
  font-size: 0.78rem;
  color: var(--muted);
}

.floating-card h2 {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.home-page #fogCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#fogCanvas {
  z-index: 20;
}


.wipe-note {
  position: fixed;
  z-index: 31;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  color: rgba(23,25,29,.62);
  transition: opacity 300ms ease;
}

/* Inner pages */

.inner-page {
  background: #e8e9eb;
}


.inner-page {
  position: relative;
  isolation: isolate;
  color: #17191d;
}

.inner-page .page-background {
  z-index: -1;
}

.page-background {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: white; 
}

.app-background {
  background:
    radial-gradient(circle at 73% 24%, rgba(249, 249, 252, 0.75), transparent 30%),
    radial-gradient(circle at 24% 68%, rgba(255,255,255,.9), transparent 33%),
    linear-gradient(140deg, #f4f3f8, #d7d6e1);
}

.blog-background {
  background:
    radial-gradient(circle at 70% 15%, rgba(255,255,255,.95), transparent 27%),
    linear-gradient(150deg, #f3f3f1, #d7d9dc 55%, #bec3c8);
}

.contact-background {
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.95), transparent 28%),
    radial-gradient(circle at 80% 70%, rgba(180,185,191,.75), transparent 36%),
    linear-gradient(140deg, #f5f5f5, #cfd3d7);
}

.photography-background {
  background:
    linear-gradient(rgba(224,226,228,.38), #000),
    url("images/photography-background.jpg") center / cover no-repeat,
    linear-gradient(135deg, #000, #92979d);
}

/*
.photography-background {
  background: #000;
}
*/
.inner-header {
  position: sticky;
  
}

.page-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 70px auto 0;
  margin-top: 10px; 
  padding-bottom: 90px;
}

.page-intro {
  max-width: 760px;
  padding: clamp(28px, 5vw, 58px);
  border-radius: var(--radius-large);
}

.page-intro h1,
.contact-copy h1 {
  font-size: clamp(3.4rem, 8vw, 7rem);
}

.page-intro > p:last-child {
  max-width: 600px;
  margin: 24px 0 0;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--muted);
}

.project-grid {
  display: grid;
  gap: 22px;
  margin-top: 24px;
}

.project-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) 1.2fr;
  gap: 30px;
  padding: 18px;
  border-radius: var(--radius-large);
}

.project-preview {
  display: grid;
  place-items: center;
  min-height: 330px;
  overflow: hidden;
  border-radius: 22px;
  font-size: clamp(2rem, 6vw, 5rem);
  letter-spacing: -0.08em;
}

.preview-nebu {
  background:
    radial-gradient(circle at 70% 25%, #d8d0ff, transparent 35%),
    linear-gradient(145deg, #ffffff, #d8d7e4);
}

.preview-inventory {
  background:
    linear-gradient(120deg, rgba(255,255,255,.8), transparent),
    repeating-linear-gradient(
      90deg,
      #d8dadc 0 1px,
      transparent 1px 54px
    ),
    linear-gradient(145deg, #f5f5f4, #c3c6ca);
}

.preview-mediator {
  background:
    radial-gradient(circle at 25% 35%, rgba(255,255,255,.95), transparent 22%),
    radial-gradient(circle at 75% 65%, rgba(120,185,145,.30), transparent 35%),
    linear-gradient(145deg, #edf6f0, #c9ddd0);
}

.preview-photo {
  background:
    linear-gradient(rgba(25,27,31,.28), rgba(25,27,31,.45)),
    url("images/project-photo.jpg") center / cover no-repeat,
    linear-gradient(145deg, #bfc3c7, #777d84);
}

.project-copy {
  align-self: center;
  padding: 26px 20px 26px 0;
}

.project-type,
.article-meta {
  margin: 0 0 10px;
  font-size: 0.75rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

.project-copy h2,
.article-card h2,
.services h2,
.feature-card h2 {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-weight: 500;
  letter-spacing: -0.045em;
}

.project-copy h2 {
  font-size: clamp(2rem, 4vw, 3.7rem);
}

.project-copy > p:not(.project-type) {
  max-width: 580px;
  line-height: 1.68;
  color: var(--muted);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0;
}

.tag-list span {
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 999px;
  background: rgba(255,255,255,.3);
  font-size: 0.75rem;
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  font-weight: 500;
}

.app-hero {
  display: grid;
  grid-template-columns: minmax(450px, 600px) 440px;

  justify-content: center;
  align-items: center;
  gap: 60px;
}

.app-hero h1 {
  font-size: clamp(5rem, 12vw, 10rem);
}

.large-copy {
  max-width: 600px;
  margin: 25px 0 0;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.65;
  color: var(--muted);
}

.phone-mockup {
  width: min(310px, 100%);
  margin: 0 auto;
  padding: 12px;
  border-radius: 47px;
  background: #16181c;
  box-shadow: 0 40px 80px rgba(18,19,23,.24);
}

.phone-screen {
  min-height: 610px;
  padding: 20px 17px;
  border-radius: 37px;
  background:
    radial-gradient(circle at 70% 5%, rgba(208,199,255,.85), transparent 28%),
    linear-gradient(160deg, #f9f9fb, #e3e3ea);
}

.phone-status {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
}

.phone-title {
  display: grid;
  gap: 5px;
  margin: 50px 4px 22px;
}

.phone-title small {
  color: var(--muted);
}

.phone-title strong {
  font-size: 1.7rem;
}

.phone-card {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 22px;
  background: rgba(255,255,255,.58);
  box-shadow: 0 12px 30px rgba(25,27,32,.08);
}

.phone-card span,
.phone-card small {
  font-size: 0.75rem;
  color: var(--muted);
}

.purple-card {
  background: linear-gradient(145deg, #ddd6ff, #f2efff);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 22px;
}

.feature-card {
  min-height: 220px;
  padding: 28px;
  border-radius: var(--radius-medium);
}

.feature-card > span {
  font-size: 0.72rem;
  color: var(--muted);
}

.feature-card h2 {
  margin-top: 70px;
  font-size: 1.5rem;
}

.feature-card p {
  line-height: 1.6;
  color: var(--muted);
}

.photography-intro .button {
  margin-top: 30px;
}

.photo-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  margin-top: 24px;
}

.photo-item {
  margin: 0;
}

.photo-item img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
}

.photo-placeholder {
  display: grid;
  place-items: center;
  min-height: 440px;
  box-shadow: var(--shadow);
  overflow: hidden;
  background:
    linear-gradient(rgba(25,27,31,.25), rgba(25,27,31,.35)),
    linear-gradient(145deg, #cfd2d5, #797f85);
}

.photo-two .photo-placeholder,
.photo-three .photo-placeholder {
  min-height: 330px;
}

.photo-item figcaption {
  padding: 10px 4px 18px;
  font-size: 0.85rem;
  color: var(--muted);
}

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

.logo img {
  height: 55px;      /* adjust */
  width: auto;
  display: block;
}

.services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 20px;
  padding: 45px;
  border-radius: var(--radius-large);
}

.services h2 {
  max-width: 560px;
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.services ul {
  margin: 0;
  padding-left: 20px;
  line-height: 2.2;
  font-size: 1.3rem; 
  color: #000; 
}

.article-list {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.article-card {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  padding: 34px;
  border-radius: var(--radius-medium);
}

.article-card h2 {
  max-width: 800px;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
}

.article-card p:not(.article-meta) {
  max-width: 720px;
  line-height: 1.65;
  color: var(--muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 12px;
}

.contact-copy,
.contact-form {
  padding: clamp(28px, 5vw, 54px);
  border-radius: var(--radius-large);
}

.contact-copy > p:not(.eyebrow) {
  max-width: 540px;
  line-height: 1.7;
  /*color: var(--muted); */
  color: #000; 
}

.contact-details {
  display: grid;
  gap: 8px;
  margin-top: 50px;
}

.contact-form {
  display: grid;
  gap: 20px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 1rem;
  color: var(--muted);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 10px;
  outline: none;
  background: rgba(255,255,255,.48);
  color: var(--text);
}

.contact-form input,
.contact-form select {
  height: 40px;
  padding: 0 14px;
}

.contact-form textarea {
  resize: vertical;
  padding: 14px;
}


.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(23, 25, 29, 0.465);
  box-shadow: 0 0 0 4px rgba(255,255,255,.42);
}

.contact-form .button {
  justify-self: start;
  border: 0;
}

.form-note {
  margin: 0;
  font-size: 0.75rem;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 32px;
  font-size: 0.8rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .floating-links,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .project-card,
  .app-hero,
  .contact-layout,
  .services {
    grid-template-columns: 1fr;
  }

  .project-copy {
    padding: 10px 14px 24px;
  }

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

  .article-card {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .site-header {
    border-radius: 24px;
  }

  .menu-button {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    padding: 18px;
    border: 0px solid var(--line);
    border-radius: 22px;
    background: rgba(180, 180, 180, 0.98);
    box-shadow: var(--shadow);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    
  }

  .nav-links.is-open {
    display: grid;
  }

  .home-content,
  .page-shell {
    margin-top: 45px;
  }

  .hero h1 {
    font-size: clamp(3.6rem, 17vw, 6rem);
  }

  .floating-card {
    min-height: 140px;
  }

  .phone-screen {
    min-height: 560px;
  }

  .page-shell,
  .home-content,
  .site-header,
  .site-footer {
    width: min(100% - 24px, 1180px);
  }

  .page-intro,
  .hero,
  .contact-copy,
  .contact-form,
  .app-hero {
    border-radius: 24px;
  }

  .wipe-note {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  #fogCanvas,
  .wipe-note {
    display: none;
  }
}

/* ===== Homepage-only adjustments. Inner pages remain unchanged. ===== */
.home-page .background-scene {
  z-index: 0;
  background:
    linear-gradient(rgba(232, 234, 236, 0.18), rgba(218, 221, 224, 0.30)),
    url("images/b_15.jpg") center / cover no-repeat,   
    radial-gradient(circle at 48% 42%, #f8f8f8 0%, #d3d6da 48%, #aeb4ba 100%);
}

.home-page #fogCanvas {
  position: fixed;
  inset: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.home-page .site-header {
  z-index: 30;
}

.home-page .home-content {
  position: relative;
  z-index: 30;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 105px);
  margin-top: 0;
  padding-bottom: 90px;
}

.home-page .hero {
  width: min(820px, 100%);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.home-page .hero h1 {
  color: var(--text);
  font-size: clamp(4.5rem, 10vw, 9rem);
  line-height: 0.9;
  text-shadow: 0 2px 16px rgba(255,255,255,.65);
}

.home-page .hero-description,
.home-page .eyebrow {
  /*color: var(--muted); */
  color: #000; 
  text-shadow: 0 1px 12px rgba(255,255,255,.75);
}

.home-page .actions {
  gap: 28px;
}

.home-page .home-text-link {
  position: relative;
  padding-bottom: 6px;
  color: var(--text);
  font-weight: 500;
}

.contact-details .home-text-link {
  position: relative;
  padding-bottom: 6px;
  color: var(--text);
  font-weight: 500;
}

.contact-details .home-text-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transition: right 180ms ease;
}

.contact-details .home-text-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transition: right 180ms ease;
}

.contact-details .home-text-link:hover::after {
  right: 0;
}


.home-text-link {
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
  color: inherit;
  text-decoration: none;
}

.home-text-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;

  height: 1px;
  background: currentColor;

  transition: right 180ms ease;
}

.home-text-link:hover::after {
  right: 0;
}



.home-page .home-text-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transition: right 180ms ease;
}

.home-page .home-text-link:hover::after {
  right: 0;
}

.home-page .wipe-note {
  z-index: 31;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

@media (max-width: 720px) {
  .home-page .home-content {
    align-items: flex-end;
    min-height: calc(100vh - 92px);
    margin-top: 0;
    padding-bottom: 64px;
  }
}

.preview-stackoverflow {
  background:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,.95) 0%, transparent 25%),
    radial-gradient(circle at 82% 25%, rgba(120,170,255,.35) 0%, transparent 30%),
    radial-gradient(circle at 35% 82%, rgba(165,205,255,.30) 0%, transparent 35%),
    radial-gradient(circle at 90% 90%, rgba(95,145,255,.22) 0%, transparent 28%),
    linear-gradient(140deg, #f3f8ff 0%, #dbe7fb 55%, #bfd3f3 100%);
}


/* Cross-browser stability overrides */
@supports (height: 100svh) {
  .home-page .home-content {
    min-height: calc(100svh - 105px);
  }

  @media (max-width: 720px) {
    .home-page .home-content {
      min-height: calc(100svh - 92px);
    }
  }
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .glass-panel,
  .nav-links {
    background-color: rgba(247, 247, 247, 0.98);
  }
}

.home-page .hero,
.home-page .hero h1,
.home-page .hero-description,
.home-page .eyebrow,
.home-page .home-text-link {
  color: #17191d;
}


body.inner-page {
  background: #000;
}



.github-link {
  display: inline-flex;
  align-items: center;
  margin-top: 28px;
  font-size: 18px;
  font-weight: 500;
  color: #5367b8;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.github-link:hover {
  opacity: 0.65;
}



/* Photography page panels  
.photography-page .photography-intro,
.photography-page .services {
  background: rgba(194, 193, 193, 0.82);
  border: 0px solid rgba(231, 226, 226, 0.69); 
  
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
*/
/*
.photography-page .photography-intro,
.photography-page .services {
    border: none;

    background:
        radial-gradient(
            ellipse at center,
            rgba(205,205,205,.88) 0%,
            rgba(196,196,196,.84) 55%,
            rgba(182,182,182,.70) 100%
        );

    backdrop-filter: blur(18px);
}

.photography-page .photography-intro::before,
.photography-page .services::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;

    background:
        radial-gradient(
            farthest-side,
            transparent 72%,
            rgba(255,255,255,.18) 88%,
            rgba(255,255,255,.55) 100%
        );

    filter: blur(18px);
}
*/
/*
.photography-page .photography-intro h1,
.photography-page .photography-intro h2,
.photography-page .services h2 {
  color: #1e1e1e;

}

.photography-page .photography-intro p,
.photography-page .services li {
  color: rgb(46, 45, 45);
}
 

/*
.photography-page .eyebrow {
  color: rgba(255, 255, 255, 0.55);
}
*/


/* Photography grid — show complete images without cropping */
.photography-page .photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 0px;
  align-items: start;
}

.photography-page .photo-item {
  width: 100%;
  margin: 0;
}

.photography-page .photo-placeholder {
  display: block;
  width: 100%;
  min-height: 0;
  height: auto;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.photography-page .photo-item img {
  display: block;
  width: 100%;
  height: auto;
  
  max-height: 650px; 

  object-fit: contain;
  border-radius: 3px;
}

@media (max-width: 760px) {
  .photography-page .photo-grid {
    grid-template-columns: 1fr;
  }
}
/*
.photography-page .photo-grid {
  display: block;
  column-count: 2;
  column-gap: 20px;
  margin-top: 24px;
}
*/
/*
.photography-page .photo-item {
  display: inline-block;
  width: 100%;
  margin: 0 0 20px;
  break-inside: avoid;
}
*/
@media (max-width: 760px) {
  .photography-page .photo-grid {
    column-count: 1;
  }
}


.about-intro {
  position: relative;
  isolation: isolate;

  max-width: 900px;
  padding: clamp(20px, 8vw, 50px);

  border: none;
  border-radius: 0;
  outline: none;
  box-shadow: none;

  background: transparent;

  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}



.about-intro::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;

  inset: -10px -240px;

  background:
    radial-gradient(
      75% 80% at 34% 45%,
      rgba(251, 207, 153, 0.86) 0%,
      rgba(251, 207, 153, 0.612) 35%,
      rgba(251, 207, 153, 0.200) 60%,
      rgba(251, 207, 153, 0.051) 78%,
      transparent 100%
    );

  filter: blur(18px);
}
















.project-preview {
  position: relative;
  overflow: hidden;
}

.project-preview img {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

.project-preview span {
  position: relative;
  z-index: 2;
}



.nebu-intro {
  position: relative;
  isolation: isolate;

  max-width: none;
  padding: clamp(20px, 8vw, 50px);
  padding-top: 0px; 
  width: 100%;


  border: none;
  border-radius: 0;
  outline: none;
  box-shadow: none;

  background: transparent;

  backdrop-filter: none;
  -webkit-backdrop-filter: none;

  
}

.nebu-intro::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;

  inset: -20px -150px;

  background:
    radial-gradient(
      75% 80% at 34% 45%,
      rgba(181, 249, 142, 0.76) 0%,
      rgba(219, 142, 249, 0.412) 35%,
      rgba(142, 142, 249, 0.100) 60%,
      rgba(142, 142, 249, 0.051) 78%,
      transparent 100%
    );

  filter: blur(18px);
}



.projects-intro {
  position: relative;
  isolation: isolate;

  max-width: 900px;
  padding: clamp(20px, 8vw, 50px);

  border: none;
  border-radius: 0;
  outline: none;
  box-shadow: none;

  background: transparent;

  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}



.projects-intro::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;

  inset: -30px -140px;

  background:
    radial-gradient(
      75% 80% at 34% 45%,
      rgba(153, 153, 251, 0.86) 0%,
      rgba(142, 142, 249, 0.612) 35%,
      rgba(142, 142, 249, 0.200) 60%,
      rgba(142, 142, 249, 0.051) 78%,
      transparent 100%
    );

  filter: blur(18px);
}



.photo-intro {
  position: relative;
  isolation: isolate;

  max-width: 900px;
  padding: clamp(20px, 8vw, 50px);

  border: none;
  border-radius: 0;
  outline: none;
  box-shadow: none;
  padding-bottom: 10px; 
  background: transparent;

  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}



.photo-intro::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;

  inset: -40px -100px;

  background:
    radial-gradient(
      75% 80% at 34% 45%,
      rgba(237, 237, 237, 0.85) 0%,
      rgba(237, 237, 237, 0.612) 35%,
      rgba(237, 237, 237, 0.2) 60%,
      rgba(237, 237, 237, 0.051) 78%,
      transparent 100%
    );

  filter: blur(18px);
}

.project-background {
  background:
      radial-gradient(
          circle at 30% 25%,
          rgba(255,255,255,.9),
          transparent 30%
      ),
      radial-gradient(
          circle at 75% 70%,
          rgba(255, 255, 255, 0.085),
          transparent 35%
      ),
      linear-gradient(
          140deg,
          #ffffff 0%,
          #fcfcfc 45%,
          #ffffff 100%
      );
}



.projects-page .site-header {
  margin-top: 0;
}

.projects-page .inner-header {
  top: 0;
}

.projects-page .page-shell {
  margin-top: 0;
}



/* Photography filters */

.photo-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 34px 0 22px;
}

.photo-filter {
  padding: 10px 20px;
  border: 0;
  border-radius: 999px;
  background: rgba(225, 225, 225, 0.54);
  color: rgba(20, 21, 24, 0.68);
  cursor: pointer;

  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);

  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.photo-filter:hover {
  transform: translateY(-2px);
  background: rgba(235, 235, 235, 0.78);
}

.photo-filter.is-active {
  background: #181a1e;
  color: #fff;
}

/*
.photography-page .photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 500px));
  justify-content: center;
  align-items: start;
  gap: 20px;
}

.photography-page .photo-item {
  width: 100%;
  margin: 0;
  opacity: 1;
  transform: scale(1);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.photography-page .photo-item img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 680px;
  object-fit: contain;
  border-radius: 18px;
}*/

.photography-page .photo-item.is-hidden {
  display: none;
}

@media (max-width: 760px) {
  .photography-page .photo-grid {
    grid-template-columns: 1fr;
  }

  .photography-page .photo-item img {
    max-height: none;
  }
}







.photography-page .photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.photography-page .photo-item {
  margin: 0;
  width: 100%;
}

.photography-page .photo-placeholder {
  width: 100%;
  height: 520px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
  background: transparent;
  box-shadow: none;
}

.photography-page .photo-item img {
  display: block;
  width: 100%;
  height: 100%;

  object-fit: contain;
  object-position: center;

  border-radius: 3px;
}

.app-carousel {
  display: grid;
  grid-template-columns: 50px 320px 50px;
  grid-template-areas:
    "previous viewport next"
    ". dots .";
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;

  /* Do not use overflow:hidden here */
}

.carousel-viewport {
  grid-area: viewport;
  position: relative;

  width: 320px;
  height: 680px;

  overflow: hidden;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 100%;

  opacity: 0;
  visibility: hidden;
  transform: scale(0.985);

  transition:
    opacity 700ms ease,
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 700ms;

  pointer-events: none;
}

.carousel-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);

  transition:
    opacity 700ms ease,
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0s;

  pointer-events: auto;
}

.carousel-slide img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: contain;
  object-position: center;
}

.carousel-prev {
  grid-area: previous;
}

.carousel-next {
  grid-area: next;
}

.carousel-prev,
.carousel-next{
    z-index:2;

    width:38px;
    height:38px;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:0;

    border:1px solid rgba(0,0,0,.08);
    border-radius:50%;

    background:rgba(255,255,255,.42);
    backdrop-filter:blur(18px);

    color:#929293;
    font-size:1.15rem;
    font-weight:300;
    line-height:1;

    cursor:pointer;

    transition:
        background .25s ease,
        transform .25s ease,
        border-color .25s ease,
        opacity .25s ease;
}

.carousel-prev:hover,
.carousel-next:hover{
    background:rgba(255,255,255,.9);
    border-color:rgba(0,0,0,.12);

    transform:scale(1.06);
}

.carousel-prev:active,
.carousel-next:active{
    transform:scale(.95);
}

.carousel-dots{
  grid-area: dots;

  display:flex;
  justify-content:center;
  align-items:center;

  gap:10px;
  margin-top:18px;
}


.carousel-dot {
  width: 7px;
  height: 7px;
  padding: 0;

  border: 0;
  border-radius: 50%;

  background: rgba(0, 0, 0, 0.16);

  transition:
    background 250ms ease,
    transform 250ms ease;
}

.carousel-dot.is-active {
  width: 7px;
  height: 7px;

  background: rgba(0, 0, 0, 0.42);
  transform: scale(1.25);
}

.carousel-dot:hover{
  background:rgba(0,0,0,.35);
}


/* ABOUT */ 

.about-hero{

  display:grid;
  grid-template-columns:420px 1fr;

  gap:80px;

  align-items:center;

  margin-top:70px;
}

.about-images{

  display:grid;

  gap:24px;
}

.about-images img{

  width:100%;

  border-radius:26px;

  object-fit:cover;
}

.about-text{

  max-width:640px;
}

.about-text p{

  margin-top:20px;
}

.about-grid{

  display:grid;

  grid-template-columns:repeat(3,1fr);

  gap:28px;

  margin:120px 0 100px;
}

.about-gallery{

  display:grid;

  grid-template-columns:repeat(3,1fr);

  gap:24px;
}

.about-gallery img{

  width:100%;

  aspect-ratio:1;

  object-fit:cover;

  border-radius:24px;
}



.nebu-tech {
  margin-top: 24px;
}

.nebu-tech span {
  display: block;
  margin-bottom: 8px;

  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;

  color: rgba(23, 25, 29, 0.45);
}

.nebu-tech p {
  margin: 0;

  font-size: 0.98rem;
  line-height: 1.55;

  color: rgba(23, 25, 29, 0.68);
}



.form-status{
  margin-top:18px;

  font-size:.95rem;
  font-weight:500;

  color:#3b7d4b;

  opacity:0;

  transition:opacity .3s ease;
}

.form-status.show{
  opacity:1;
}

.form-status.error{
  color:#c04b4b;
}

@media (max-width: 768px) {
  .photo-grid {
      grid-template-columns: 1fr;
      gap: 1rem;
  }

  .photo-item {
      width: 100%;
  }

  .photo-placeholder img {
      width: 100%;
      height: auto;
      display: block;
  }

  .page-shell {
    padding-inline: 1rem;
}

.photo-intro p {
    width: 100% !important;
}

.photo-filters {
    justify-content: center;
    flex-wrap: wrap;
}
}


/* Keep the homepage mobile menu above the hero content */
/* Background */
.background-scene {
  z-index: 0;
}

/* Hero text ABOVE fog */
.home-page .home-content {
  position: relative;
  z-index: 15;
}

/* Fog */
.home-page #fogCanvas {
  z-index: 10;
  pointer-events: none;
}

/* Header */
.home-page .site-header {
  position: relative;
  z-index: 1000;
}

/* Mobile dropdown */
.home-page .nav-links {
  z-index: 1001;
}

.home-page .menu-button {
  position: relative;
  z-index: 1002;
}


@media screen and (max-width: 768px) {
  body.photography-page .photo-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px;
  }

  body.photography-page .photo-item {
    width: 100%;
    min-width: 0;
  }

  body.photography-page .photo-placeholder {
    width: 100%;
    height: auto;
    min-height: 0;
  }

  body.photography-page .photo-item img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
  }
}