/* ============================================
   I AM SIX THREE — Dark editorial stylesheet
   ============================================ */

:root {
  --black: #0a0a0a;
  --near-black: #111111;
  --dark: #1a1a1a;
  --mid: #333333;
  --grey: #666666;
  --light-grey: #999999;
  --off-white: #f5f5f5;
  --white: #ffffff;
  --line: rgba(255,255,255,0.12);
  --max-width: 1200px;
  --header-height: 160px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--black);
  color: var(--off-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.25s ease;
}

a:hover {
  opacity: 0.7;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4 {
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 400;
  letter-spacing: 0.04em;
}

h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 400;
}

h3 {
  font-size: 1.25rem;
  letter-spacing: 0.04em;
}

p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--light-grey);
}

.lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.75;
  color: var(--off-white);
  max-width: 720px;
}

.small {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

.logo-link img,
.logo-link svg {
  height: 130px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.main-nav a {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--off-white);
  position: relative;
}

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

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

.main-nav a:hover {
  opacity: 1;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--white);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  margin: 5px 0;
  transition: 0.3s;
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-height) + 40px) 0 80px;
  position: relative;
  overflow: hidden;
}

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

.hero-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 24px;
}

.hero h1 {
  margin-bottom: 28px;
}

.hero .lead {
  margin-bottom: 40px;
}

.hero-cta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--white);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background: var(--white);
  color: var(--black);
  opacity: 1;
}

.btn-filled {
  background: var(--white);
  color: var(--black);
}

.btn-filled:hover {
  background: transparent;
  color: var(--white);
}

.kit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.kit-item {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 20px;
  text-align: center;
}

.kit-item img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  margin-bottom: 16px;
}

.kit-item h3 {
  color: var(--black);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.kit-item p {
  color: var(--mid);
  font-size: 0.8rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--dark);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.portfolio-item:hover img {
  transform: scale(1.04);
}

.portfolio-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  color: var(--white);
}

.portfolio-item:hover .overlay {
  opacity: 1;
}

.portfolio-item .overlay span {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.service-card {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-card p {
  font-size: 0.95rem;
}

.service-card.premium {
  border-top-color: var(--white);
}

.service-card .tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 8px;
}

.quote-block {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 60px 24px;
}

.quote-block blockquote {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.5;
  color: var(--off-white);
  margin-bottom: 20px;
}

.quote-block cite {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
  font-style: normal;
}

.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-preview .text h2 {
  margin-bottom: 24px;
}

.about-preview .text p {
  margin-bottom: 16px;
}

.contact-teaser {
  text-align: center;
  padding: 100px 24px;
  border-top: 1px solid var(--line);
}

.contact-teaser h2 {
  margin-bottom: 16px;
}

.contact-teaser p {
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.contact-teaser a.email {
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(0,0,0,0.3);
  padding-bottom: 4px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 32px;
}

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

.footer-logo img {
  height: 60px;
  width: auto;
  margin-bottom: 16px;
}

.footer-col h4 {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 16px;
}

.footer-col a,
.footer-col p {
  font-size: 0.9rem;
  color: var(--light-grey);
  display: block;
  margin-bottom: 8px;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--grey);
  letter-spacing: 0.06em;
}

.page-hero {
  padding: calc(var(--header-height) + 60px) 0 60px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin-bottom: 16px;
}

.contact-form {
  max-width: 560px;
  margin-top: 40px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  background: var(--dark);
  border: 1px solid var(--line);
  color: var(--white);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: rgba(255,255,255,0.4);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.text-center { text-align: center; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

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

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

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

@media (max-width: 700px) {
  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--black);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--line);
  }

  .main-nav.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero {
    min-height: 90vh;
    padding-top: calc(var(--header-height) + 30px);
  }

  .section {
    padding: 60px 0;
  }

  .footer-inner {
    flex-direction: column;
  }

  section .container > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
}

.blog-list {
  display: grid;
  gap: 40px;
  max-width: 800px;
}

.blog-card h3 {
  margin-bottom: 8px;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 1.5rem;
}

.blog-card .meta {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 12px;
}

.blog-article {
  max-width: 720px;
}

.blog-article .meta {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 28px;
}

.blog-article p {
  margin-bottom: 18px;
}

.blog-article h2 {
  text-transform: none;
  letter-spacing: 0.02em;
  margin: 32px 0 16px;
  font-size: 1.4rem;
}

.gallery-heading { margin-bottom: 24px; }
.overlay-visible { opacity: 1; }
.wedding-tile img { object-fit: contain; background: #f4f4f4; padding: 40px; }
.lightbox[hidden] { display: none; }
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.92);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
}
.lightbox img { max-width: 90vw; max-height: 80vh; object-fit: contain; }
.lightbox-caption { color: #fff; margin-top: 16px; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.8rem; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; background: none; border: 0; color: #fff;
  font-size: 2.4rem; cursor: pointer; line-height: 1;
}
.lightbox-close { top: 20px; right: 28px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }

.category-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 20px;
}
.category-head h2 a:hover { opacity: 1; text-decoration: underline; }
.slider {
  position: relative;
}
.slides { position: relative; }
.slide {
  display: none;
}
.slide.active { display: block; }
.slide {
  overflow: hidden;
}
.slide img {
  width: 100%;
  height: min(70vh, 640px);
  object-fit: cover;
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  background: rgba(255,255,255,0.75);
  color: #111;
  font-size: 1.6rem;
  cursor: pointer;
}
.slider-btn.prev { left: 12px; }
.slider-btn.next { right: 12px; }
.wedding-hero {
  display: block;
  position: relative;
  background: #f4f4f4;
}
.wedding-hero img {
  width: 100%;
  height: min(50vh, 420px);
  object-fit: contain;
  padding: 40px;
}
.wedding-hero span {
  display: block;
  padding: 16px 0 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.category-head {
  align-items: center;
}
.gallery-link {
  flex: 0 0 auto;
}
.slide {
  overflow: hidden;
}
.slide img {
  width: 100%;
  height: min(70vh, 640px);
  object-fit: cover;
  transform: scale(1);
  animation: none;
}
.slide.active img {
  animation: kenburns 12s ease-in-out infinite alternate;
}
@keyframes kenburns {
  0%   { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.12) translate(-2%, -1.5%); }
}
@media (prefers-reduced-motion: reduce) {
  .slide.active img { animation: none; }
}

.slider-btn { display: none; }
