@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&family=Manrope:wght@300;400;500;600;700&display=swap');

:root {
  --obsidian-black: #111216;
  --deep-charcoal-violet: #1E1B22;
  --night-plum: #2C2532;
  --soft-graphite-fabric: #37303E;
  --smoked-amethyst: #4B4451;
  --tailors-bronze: #C5A77A;
  --brushed-linen-gold: #D7CBB2;
  --rose-brass: #B69C91;
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Manrope', sans-serif;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--brushed-linen-gold);
  background-color: var(--obsidian-black);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(199, 167, 122, 0.03) 2px, rgba(199, 167, 122, 0.03) 4px),
    radial-gradient(circle at 20% 50%, rgba(44, 37, 50, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(55, 48, 62, 0.2) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.2;
  color: var(--brushed-linen-gold);
  margin-bottom: var(--spacing-sm);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 400;
  letter-spacing: 0.08em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: 0.06em;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}

p {
  margin-bottom: var(--spacing-sm);
  font-size: 1.1rem;
  color: var(--brushed-linen-gold);
  opacity: 0.9;
}

a {
  color: var(--tailors-bronze);
  text-decoration: none;
  transition: color var(--transition-normal);
}

a:hover {
  color: var(--brushed-linen-gold);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  position: relative;
  z-index: 1;
}

.section {
  padding: var(--spacing-xl) 0;
  position: relative;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(17, 18, 22, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(199, 167, 122, 0.1);
  z-index: 1000;
  padding: var(--spacing-sm) 0;
  transition: all var(--transition-normal);
}

header.scrolled {
  background: rgba(17, 18, 22, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--tailors-bronze);
  text-transform: uppercase;
  text-decoration: none;
  transition: color var(--transition-normal);
}

.logo:hover {
  color: var(--brushed-linen-gold);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: var(--spacing-md);
  align-items: center;
}

.nav-links a {
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: var(--spacing-xs) 0;
  position: relative;
  color: var(--brushed-linen-gold);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--tailors-bronze);
  transition: width var(--transition-normal);
}

.nav-links a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--brushed-linen-gold);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: color var(--transition-normal);
  position: relative;
  z-index: 1001;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
}

.menu-toggle:hover {
  color: var(--tailors-bronze);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--obsidian-black) 0%, var(--deep-charcoal-violet) 50%, var(--night-plum) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="fabric" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M0,10 L20,10" stroke="rgba(199,167,122,0.1)" stroke-width="0.5"/><path d="M10,0 L10,20" stroke="rgba(199,167,122,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23fabric)"/></svg>');
  opacity: 0.3;
  z-index: 0;
}

.hero-content {
  text-align: center;
  z-index: 2;
  position: relative;
  padding: var(--spacing-lg);
}

.hero h1 {
  margin-bottom: var(--spacing-md);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease-out;
}

.hero p {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  margin-bottom: var(--spacing-lg);
  opacity: 0.95;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--obsidian-black);
  background: var(--tailors-bronze);
  border: 1px solid var(--tailors-bronze);
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn:hover {
  background: var(--brushed-linen-gold);
  border-color: var(--brushed-linen-gold);
  box-shadow: 0 8px 25px rgba(199, 167, 122, 0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--tailors-bronze);
  border-color: var(--tailors-bronze);
}

.btn-secondary:hover {
  background: var(--tailors-bronze);
  color: var(--obsidian-black);
}

.stitch-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, 
    transparent 0%, 
    var(--tailors-bronze) 20%, 
    var(--tailors-bronze) 80%, 
    transparent 100%);
  position: relative;
  margin: var(--spacing-lg) 0;
  opacity: 0.3;
}

.stitch-line::before,
.stitch-line::after {
  content: '';
  position: absolute;
  top: -2px;
  width: 4px;
  height: 4px;
  background: var(--tailors-bronze);
  border-radius: 50%;
}

.stitch-line::before {
  left: 20%;
}

.stitch-line::after {
  right: 20%;
}

.card {
  background: linear-gradient(135deg, var(--deep-charcoal-violet) 0%, var(--night-plum) 100%);
  border: 1px solid rgba(199, 167, 122, 0.2);
  padding: var(--spacing-md);
  position: relative;
  transition: all var(--transition-slow);
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(199, 167, 122, 0.1), transparent);
  transition: left var(--transition-slow);
}

.card:hover::before {
  left: 100%;
}

.card:hover {
  border-color: var(--tailors-bronze);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  transform: translateY(-5px);
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: var(--spacing-sm);
  color: var(--brushed-linen-gold);
}

.card-text {
  color: var(--brushed-linen-gold);
  opacity: 0.85;
  line-height: 1.8;
}

.editorial-card {
  position: relative;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: var(--spacing-lg);
  overflow: hidden;
}

.editorial-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(17, 18, 22, 0.9) 0%, transparent 50%);
  z-index: 1;
}

.editorial-card-content {
  position: relative;
  z-index: 2;
}

.grid {
  display: grid;
  gap: var(--spacing-md);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.asymmetric-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--spacing-md);
}

.asymmetric-grid .item-large {
  grid-column: span 8;
}

.asymmetric-grid .item-small {
  grid-column: span 4;
}

.vertical-title {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  letter-spacing: 0.2em;
  color: var(--tailors-bronze);
  opacity: 0.5;
  position: absolute;
  left: var(--spacing-md);
  top: 50%;
  transform: translateY(-50%);
  z-index: 0;
}

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brushed-linen-gold);
  opacity: 0.8;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem;
  background: var(--deep-charcoal-violet);
  border: 1px solid rgba(199, 167, 122, 0.3);
  color: var(--brushed-linen-gold);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all var(--transition-normal);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--tailors-bronze);
  box-shadow: 0 0 0 3px rgba(199, 167, 122, 0.1);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-xs);
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 0.3rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
}

.portfolio-item {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--night-plum);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.portfolio-item:hover img {
  transform: scale(1.1);
}

.portfolio-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--spacing-md);
  background: linear-gradient(to top, rgba(17, 18, 22, 0.95) 0%, transparent 100%);
  transform: translateY(100%);
  transition: transform var(--transition-normal);
}

.portfolio-item:hover .portfolio-caption {
  transform: translateY(0);
}

.split-slider {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
  position: relative;
}

.split-slider-item {
  position: relative;
  overflow: hidden;
}

.split-slider-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-slider-label {
  position: absolute;
  top: var(--spacing-md);
  left: var(--spacing-md);
  padding: 0.5rem 1rem;
  background: rgba(17, 18, 22, 0.8);
  border: 1px solid var(--tailors-bronze);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pricing-card {
  background: var(--deep-charcoal-violet);
  border: 1px solid rgba(199, 167, 122, 0.3);
  padding: var(--spacing-lg);
  position: relative;
  margin-bottom: var(--spacing-md);
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--obsidian-black);
  border: 2px solid var(--tailors-bronze);
}

.pricing-card::after {
  content: '';
  position: absolute;
  top: 19px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 30px;
  background: var(--tailors-bronze);
  opacity: 0.5;
}

.pricing-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
  color: var(--tailors-bronze);
}

.pricing-amount {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--brushed-linen-gold);
  margin: var(--spacing-md) 0;
}

footer {
  background: var(--obsidian-black);
  border-top: 1px solid rgba(199, 167, 122, 0.2);
  padding: var(--spacing-lg) 0;
  margin-top: var(--spacing-xl);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
}

.footer-section h4 {
  font-size: 1.2rem;
  margin-bottom: var(--spacing-sm);
  color: var(--tailors-bronze);
}

.footer-section p,
.footer-section a {
  color: var(--brushed-linen-gold);
  opacity: 0.8;
  font-size: 0.95rem;
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-md);
  margin-top: var(--spacing-md);
  border-top: 1px solid rgba(199, 167, 122, 0.1);
  opacity: 0.6;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes stitchDraw {
  0% {
    stroke-dashoffset: 1000;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.fade-in {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

body.legal-page {
  background: var(--obsidian-black);
  color: var(--brushed-linen-gold);
}

body.legal-page header {
  background: rgba(17, 18, 22, 0.85);
}

body.legal-page .container {
  max-width: 800px;
  padding: var(--spacing-lg);
}

body.legal-page h1,
body.legal-page h2,
body.legal-page h3,
body.legal-page h4 {
  color: var(--brushed-linen-gold);
}

body.legal-page a {
  color: var(--tailors-bronze);
}

body.legal-page a:hover {
  color: var(--brushed-linen-gold);
}

body.legal-page ul {
  margin-left: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
}

body.legal-page li {
  margin-bottom: 0.5rem;
  color: var(--brushed-linen-gold);
  opacity: 0.9;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    background: rgba(17, 18, 22, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: var(--spacing-md);
    transition: left var(--transition-normal);
    border-top: 1px solid rgba(199, 167, 122, 0.2);
    z-index: 1000;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .nav-links li {
    width: 100%;
    text-align: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(199, 167, 122, 0.1);
  }
  
  .nav-links li:last-child {
    border-bottom: none;
  }
  
  .asymmetric-grid {
    grid-template-columns: 1fr;
  }
  
  .asymmetric-grid .item-large,
  .asymmetric-grid .item-small {
    grid-column: span 1;
  }
  
  .split-slider {
    grid-template-columns: 1fr;
  }
  
  .vertical-title {
    writing-mode: horizontal-tb;
    position: static;
    transform: none;
    margin-bottom: var(--spacing-md);
  }
  
  .section {
    padding: var(--spacing-md) 0;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 320px) {
  .container {
    padding: 0 var(--spacing-sm);
  }
  
  .logo {
    font-size: 1.1rem;
  }
  
  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
    width: 100%;
    max-width: 280px;
  }
  
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .hero-content {
    padding: var(--spacing-md);
  }
  
  .section {
    padding: var(--spacing-md) 0;
  }
  
  .card {
    padding: var(--spacing-sm);
  }
  
  .editorial-card {
    min-height: 400px;
    padding: var(--spacing-md);
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
  }
  
  .portfolio-item {
    aspect-ratio: 3/4;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .asymmetric-grid {
    grid-template-columns: 1fr;
  }
  
  .asymmetric-grid .item-large,
  .asymmetric-grid .item-small {
    grid-column: span 1;
  }
  
  .split-slider {
    grid-template-columns: 1fr;
    min-height: 400px;
  }
  
  .pricing-card {
    padding: var(--spacing-md);
  }
  
  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  .menu-toggle {
    font-size: 1.3rem;
  }
  
  .nav-links {
    top: 60px;
    padding: var(--spacing-sm);
  }
  
  .nav-links a {
    font-size: 0.9rem;
  }
}

.text-center {
  text-align: center;
}

.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }

.opacity-50 { opacity: 0.5; }
.opacity-70 { opacity: 0.7; }
.opacity-90 { opacity: 0.9; }

