/* =========================================
   Base
========================================= */
:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #555555;
  --border: #eaeaea;
  --accent: #111111;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  --max: 1200px;
  --gutter: 16px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

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

.container {
  width: min(100% - (var(--gutter) * 2), var(--max));
  margin-inline: auto;
}

.section {
  padding: 80px 0;
}

.section-tight {
  padding: 48px 0;
}

.eyebrow {
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  /* color: var(--muted); */
  color: white;
}

.h1,
.h2,
.h3 {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.h1 {
  font-size: clamp(2.6rem, 4vw, 4.2rem);
  line-height: 1.1;
}

.h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.2;
}

.h3 {
  font-size: 1.4rem;
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
}


/* =========================================
   Header / Nav
========================================= */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 20;
}

.site-header .container {
  width: 100%;
  max-width: 100%;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding-top: 6px;
  padding-inline: 70px;
}

.logo {
  display: inline-flex;
  align-items: center;
  transform: translateY(20px);
}

.logo img {
  height: 56px;
  width: auto;
  /* filter: invert(1) brightness(2); */
  display: block;
}

/* =========================================
   Menu Toggle
========================================= */
.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 36px;
  height: 24px;
  background: none;
  border: none;
  padding: 0;
  transform: translateY(20px);
}

.menu-toggle span {
  display: block;
  height: 2.2px;
  background: rgba(255, 255, 255, 0.9);
  width: 100%;
}

/* =========================================
   Fullscreen Menu
========================================= */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 8, 0.94);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 30;
}

.menu-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.menu-panel {
  display: grid;
  gap: 18px;
  text-align: left;
  transform: translateX(-28px);
}

.menu-panel a {
  font-family: Monaco, "Courier New", monospace;
  font-weight: 300;
  font-size: 1.4rem;
  color: rgba(200, 200, 200, 0.65);
  letter-spacing: 0.02em;
  transition: opacity 0.25s ease;
}

.menu-panel a:hover {
  opacity: 1;
  color: rgba(255, 255, 255, 0.95);
}

.menu-close {
  position: fixed;
  top: 28px;
  right: 70px;
  width: 22px;
  height: 22px;
  background: none;
  border: none;
  padding: 0;
  transform: translateY(20px);
}

.menu-close span {
  position: absolute;
  left: 0;
  top: 50%;
  width: 22px;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.85);
}

.menu-close span:first-child {
  transform: translateY(-50%) rotate(45deg);
}

.menu-close span:last-child {
  transform: translateY(-50%) rotate(-45deg);
}

body.menu-open {
  overflow: hidden;
}

.nav-links a {
  color: var(--text);
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--text);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 32px;
  height: 24px;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s ease, top 0.3s ease, opacity 0.3s ease;
}

.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 11px; }
.nav-toggle span:nth-child(3) { top: 22px; }

.nav-open .nav-toggle span:nth-child(1) {
  top: 11px;
  transform: rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  top: 11px;
  transform: rotate(-45deg);
}

.nav-mobile {
  display: none;
}

/* =========================================
   Hero
========================================= */
.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
}

/* Hero overlay removed for immersive imagery */

.hero-carousel .slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-carousel .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-carousel .slide.is-active {
  opacity: 1;
}

.hero-carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.hero-content .lead {
  margin: 18px 0 26px;
}

/* =========================================
   Home Hero Slider
========================================= */
.home main {
  overflow: hidden;
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-track {
  display: flex;
  height: 100%;
  transition: transform 1.1s cubic-bezier(0.77, 0, 0.175, 1);
}

.hero-slide {
  position: relative;
  min-width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-slide.hero-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.0);
  transition: transform 15s linear;
}

.hero-slide.active .hero-bg {
  transform: scale(1.14);
}

.hero-content {
  position: absolute;
  left: 8%;
  bottom: 20%;
  max-width: 650px;
  color: #ffffff;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.hero-content .eyebrow {
  letter-spacing: 0.22em;
  font-size: 0.75rem;
  margin-bottom: 16px;
  opacity: 0.75;
}

.hero-content .h1,
.hero-content .h2 {
  font-weight: 400;
  line-height: 1.03;
}

.hero-content .lead {
  color: rgba(255, 255, 255, 0.82);
  margin-top: 16px;
}

.hero-slide.about-slide .hero-content,
.hero-slide.contact-slide .hero-content {
  color: #ffffff;
}

.hero-slide.about-slide .h2,
.hero-slide.contact-slide .h2 {
  color: #ffffff !important;
  font-weight: 500;
}

.hero-slide.about-slide .lead,
.hero-slide.contact-slide .lead {
  color: rgba(255, 255, 255, 0.9);
}

.hero .btn {
  position: relative;
  display: inline-block;
  padding: 12px 34px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  overflow: hidden;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 3.6px;
  text-transform: uppercase;
  line-height: 1;
}

.hero-content h1,
.hero-content .h1 {
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: clamp(52px, 6vw, 78px);
  line-height: 1.05;
  letter-spacing: -0.3px;
}

.hero-content p,
.hero-content .lead {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: 0.3px;
  opacity: 0.85;
}

.hero-label,
.hero-content .eyebrow {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.7;
}

.hero .btn span {
  position: relative;
  z-index: 2;
  display: inline-block;
  transform: translateY(-1px);
  transition: color 0.35s ease;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.4);
  color: rgba(255, 255, 255, 0.85);
}

.hero .btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #ffffff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
  z-index: 1;
}

.hero .btn:hover::before {
  transform: scaleX(1);
}

.hero .btn:hover span {
  color: #111111;
}

.progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: #ffffff;
  transition: width 15s linear;
}

.slider-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 26px;
  font-weight: 200;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease;
  z-index: 10;
}

.slider-cursor.is-visible {
  opacity: 0.9;
}

.hero.cursor-hidden {
  cursor: none;
}

.home .slide-caption {
  align-self: flex-end;
  margin-bottom: 64px;
}

/* =========================================
   Intro
========================================= */
.intro-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: center;
}

.intro-card {
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #fff;
}

/* =========================================
   Projects
========================================= */
.grid {
  display: grid;
  gap: 24px;
}

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

.project-card {
  border: 1px solid var(--border);
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card img {
  height: 180px;
  object-fit: cover;
  width: 100%;
}

.project-card .card-body {
  padding: 18px;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

/* =========================================
   Services
========================================= */
.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.service-card {
  padding: 28px;
  border: 1px solid var(--border);
  background: #fff;
}

.service-icon {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  font-size: 1.1rem;
  color: var(--muted);
}

/* =========================================
   Contact Strip
========================================= */
.contact-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #fafafa;
}

.contact-strip .strip-inner {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  align-items: center;
  padding: 28px 0;
}

.contact-item {
  font-size: 0.95rem;
  color: var(--muted);
}

/* =========================================
   Page Hero
========================================= */
.page-hero {
  padding: 140px 0 60px;
  background: #f7f7f7;
  border-bottom: 1px solid var(--border);
}

.page-hero p {
  max-width: 640px;
  margin-top: 12px;
  color: var(--muted);
}

/* =========================================
   About
========================================= */
.about-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.about-image {
  min-height: 530px;
  background: url("../assets/images/about.jpeg") center/cover no-repeat;
  border: 1px solid var(--border);
}

.highlight {
  padding: 18px;
  border-left: 3px solid var(--text);
  background: #fafafa;
  margin-top: 18px;
  color: var(--muted);
}

/* =========================================
   Contact Page
========================================= */
.contact-page {
  background: #e6e0d8;
  color: #3a342e;
  min-height: 100vh;
}

.contact-hero {
  position: relative;
  padding: 110px 0 70px;
  background: url("../assets/images/contact-hero.jpeg") center/cover no-repeat;
  color: #f6f4f1;
}

.contact-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.contact-hero .container {
  position: relative;
  z-index: 1;
}

.contact-hero-title {
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: clamp(2.1rem, 3.6vw, 3.5rem);
  line-height: 1.18;
  color: #f5f2ed;
  margin-top: 14px;
}

.contact-hero-text {
  margin-top: 18px;
  color: rgba(245, 242, 237, 0.88);
  font-weight: 300;
}

.contact-main {
  background: #e6e0d8;
  padding: 72px 0 84px;
}

.contact-main-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: stretch;
}

.contact-map {
  min-height: 300px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.contact-info {
  display: grid;
  gap: 28px;
  padding-left: 28px;
  border-left: 1px solid rgba(0, 0, 0, 0.07);
}

.contact-label {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(245, 242, 237, 0.78);
}

.contact-item-label {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #6f6f6f;
}

.contact-block {
  display: grid;
  gap: 8px;
}

.contact-info a,
.contact-info p {
  color: #000000;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.contact-info a {
  font-weight: 400;
}

.contact-info p {
  font-weight: 400;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #000000;
}

.contact-btn {
  position: relative;
  display: inline-block;
  padding: 12px 34px;
  border: 1.5px solid rgba(58, 52, 46, 0.45);
  color: #3a342e;
  text-decoration: none;
  overflow: hidden;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 10.2px;
  font-weight: 400;
  letter-spacing: 3.2px;
  text-transform: uppercase;
  line-height: 1;
  margin-top: 10px;
  width: fit-content;
  justify-self: start;
}

.contact-btn span {
  position: relative;
  z-index: 2;
  display: inline-block;
  transform: translateY(-1px);
  transition: color 0.35s ease;
}

.contact-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #000000;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
  z-index: 1;
}

.contact-btn:hover::before {
  transform: scaleX(1);
}

.contact-btn:hover span {
  color: #f6f4f1;
}

.contact-authority {
  margin-top: 36px;
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8b827a;
}

/* =========================================
   About Page Aesthetic
========================================= */
.about-page {
  background: #e6e0d8;
  color: #3a342e;
  min-height: 100vh;
}

.about-hero {
  position: relative;
  padding: 110px 0 70px;
  background: url("../assets/images/about-hero.jpeg") center/cover no-repeat;
  color: #f6f4f1;
}

.about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.about-hero .container {
  position: relative;
  z-index: 1;
}

.about-page .section {
  background: #e6e0d8;
}

.services-page {
  background: #e6e0d8;
  color: #3a342e;
  min-height: 100vh;
}

.services-hero {
  position: relative;
  padding: 110px 0 70px;
  background: url("../assets/images/services-hero.png") center/cover no-repeat;
  color: #f6f4f1;
}

.services-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.services-hero .container {
  position: relative;
  z-index: 1;
}

.services-content {
  background: #e6e0d8;
  padding: 72px 0 84px;
}

.services-page .service-card {
  background: #eee9e4;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.services-page .service-icon {
  border-color: rgba(0, 0, 0, 0.12);
  color: #6c6158;
}

.services-cards {
  gap: 32px;
}

.service-card--image {
  padding: 18px;
  display: grid;
  gap: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  grid-template-rows: auto 1fr;
}

.service-image {
  position: relative;
  border: none;
  overflow: hidden;
  height: 240px;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.04);
  transform-origin: center;
}

.services-cards .service-card--image:nth-child(2) .service-image img {
  transform: scale(1.08);
}

.service-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.85);
  padding: 6px 10px;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #3a342e;
}

.service-body {
  display: block;
}

.service-body .h3 {
  margin: 0 0 8px;
  line-height: 1.2;
}

.service-body .lead {
  margin: 0;
}

.service-link {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #3a342e;
  border: 1px solid rgba(0, 0, 0, 0.12);
  padding: 10px 14px;
  width: fit-content;
}

.service-link:hover {
  border-color: rgba(0, 0, 0, 0.3);
}

@media (max-width: 900px) {
  .service-image img {
    height: 200px;
  }
}
.about-page .about-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: start;
  gap: 48px;
}

.about-page .about-grid > div:first-child {
  max-width: 680px;
}

.about-page .about-grid .lead {
  margin-bottom: 16px;
}

.about-page .about-section-title {
  margin-bottom: 18px;
}

.about-page .founder-title {
  margin-top: 32px;
}

.founder-full {
  margin-top: 24px;
}

.about-figure {
  display: grid;
  gap: 12px;
  align-content: start;
  margin-top: 88px;
}

.about-caption {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8b827a;
  text-align: center;
}

.about-hero-text {
  margin-top: 12px;
  color: rgba(245, 242, 237, 0.88);
  font-weight: 300;
  font-size: 30px;
  font-family: "Playfair Display", serif;
}

@media (max-width: 900px) {
  .about-page .about-grid {
    grid-template-columns: 1fr;
  }

  .about-page .about-image {
    min-height: 360px;
  }
}

/* =========================================
   Footer
========================================= */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  font-size: 0.9rem;
  color: var(--muted);
}

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

/* =========================================
   Utilities
========================================= */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.center {
  text-align: center;
}

/* =========================================
   Responsive
========================================= */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-mobile {
    display: grid;
    gap: 16px;
    position: absolute;
    top: 72px;
    right: var(--gutter);
    left: var(--gutter);
    background: #fff;
    border: 1px solid var(--border);
    padding: 18px;
    box-shadow: var(--shadow);
    transform-origin: top;
    transform: scaleY(0);
    transition: transform 0.3s ease;
  }

  .nav-open .nav-mobile {
    transform: scaleY(1);
  }

  .hero {
    background-position: center right;
  }

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

@media (max-width: 600px) {
  .section {
    padding: 64px 0;
  }

  .page-hero {
    padding-top: 120px;
  }

  .hero-content .btn {
    width: 100%;
    justify-content: center;
  }

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

  .home .slide-overlay {
    margin-left: 24px;
    padding-right: 24px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-intro {
    border-left: none;
    padding-left: 0;
  }

  .contact-hero {
    padding: 96px 0 64px;
  }

  .contact-main-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .contact-info {
    border-left: none;
    padding-left: 0;
  }
}
.home .slider.cursor-hidden {
  cursor: none;
}

/* Hero typography + button overrides (ensure applied on slider) */
.hero .hero-content .h1,
.hero .hero-content h1 {
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: clamp(52px, 6vw, 78px);
  line-height: 1.05;
  letter-spacing: -0.3px;
}

.hero .hero-content .lead,
.hero .hero-content p {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: 0.3px;
  opacity: 0.85;
}

.hero .hero-content .eyebrow {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.7;
}
