/* AERI STUDIO | Minimal Editorial Fashion Aesthetics */
:root {
  --primary-color: #111111;
  --bg-warm: #f7f4ef; /* Sand Oatmeal Background */
  --bg-card: #fbfaf7; /* Off-white warm */
  --border-color: #e5e0d8;
  --text-muted: #666666;
  
  --font-serif: 'Cinzel', Georgia, serif;
  --font-sans: 'Work Sans', 'Noto Sans KR', sans-serif;
}

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

body {
  background-color: var(--bg-warm);
  color: var(--primary-color);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: break-word;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

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

/* Header & Navigation */
.header {
  background-color: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}

.header-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 22px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.8rem;
  letter-spacing: 0.25em;
  color: var(--primary-color);
  margin-right: -0.25em; /* Compensate for right spacing on logo */
}

.nav-menu {
  display: flex;
  gap: 40px;
}

.nav-item {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  position: relative;
  padding: 4px 0;
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-item:hover::after {
  width: 100%;
}

.nav-item:hover {
  color: var(--primary-color);
}

.header-utility {
  display: flex;
  align-items: center;
  gap: 24px;
}

.utility-link {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.utility-link:hover {
  color: var(--primary-color);
}

.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}

.icon-btn:hover {
  color: var(--primary-color);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 20px;
  height: 12px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 110;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  background-color: #eae9e4;
}

.hero-image-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(247, 244, 239, 0.98) 0%, rgba(247, 244, 239, 0.78) 35%, transparent 75%);
}

.hero-content-overlay {
  max-width: 1440px;
  margin: 0 auto;
  height: 100%;
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  padding: 0 60px;
}

.hero-content-box {
  max-width: 520px;
}

.hero-collection-tag {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  font-weight: 600;
  color: var(--text-muted);
  display: block;
  margin-bottom: 18px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: 3.4rem;
  line-height: 1.15;
  font-weight: 400;
  margin-bottom: 22px;
  color: var(--primary-color);
}

.hero p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.68;
}

.btn {
  display: inline-block;
  padding: 15px 38px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #ffffff;
  border: 1px solid var(--primary-color);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--primary-color);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  margin-left: 12px;
}

.btn-secondary:hover {
  background-color: rgba(17, 17, 17, 0.04);
  transform: translateY(-2px);
}

/* Editorial Section */
.editorial-section {
  padding: 80px 40px;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
}

.lookbook-strip {
  display: grid;
  grid-template-columns: 0.8fr 1.25fr 1fr 1fr;
  gap: 12px;
  padding: 14px;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
}

.lookbook-strip img {
  height: 320px;
  object-fit: cover;
  background: var(--bg-card);
}

.product-grid {
  padding: 90px 60px;
  background: var(--bg-warm);
}

.section-heading {
  max-width: 1440px;
  margin: 0 auto 34px;
}

.section-heading span {
  display: block;
  margin-bottom: 10px;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.section-heading h2 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 400;
}

.product-list {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.product-list article {
  background: #ffffff;
  border: 1px solid var(--border-color);
}

.product-list img {
  height: 340px;
  object-fit: cover;
  background: var(--bg-card);
}

.product-list b,
.product-list p {
  display: block;
  padding: 0 20px;
}

.product-list b {
  margin-top: 18px;
  font-size: 0.95rem;
}

.product-list p {
  margin: 8px 0 20px;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.editorial-container {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.editorial-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.editorial-card:hover {
  border-color: var(--primary-color);
}

.card-info {
  padding: 50px 50px 30px;
}

.card-tag {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 16px;
}

.editorial-card h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 14px;
}

.editorial-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 24px;
  line-height: 1.65;
}

.card-link {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--primary-color);
  padding-bottom: 2px;
  display: inline-block;
}

.card-image {
  height: 380px;
  overflow: hidden;
  border-top: 1px solid var(--border-color);
}

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

.editorial-card:hover .card-image img {
  transform: scale(1.03);
}

/* Story Section */
.story-section {
  padding: 100px 60px;
}

.story-container {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.story-text {
  max-width: 520px;
}

.story-text .subtitle {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 14px;
}

.story-text h2 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: 24px;
}

.story-text p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.text-link {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-top: 10px;
  display: inline-block;
  border-bottom: 1px solid var(--primary-color);
  padding-bottom: 2px;
}

.story-image {
  height: 400px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Services Section */
.services-section {
  background-color: #ffffff;
  padding: 60px 40px;
  border-top: 1px solid var(--border-color);
}

.services-container {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.service-item {
  padding: 10px;
}

.service-item h4 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.service-item p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 80px 60px 40px;
}

.footer-container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 80px;
  margin-bottom: 60px;
}

.footer-brand h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  letter-spacing: 0.2em;
  margin-bottom: 16px;
}

.footer-brand p {
  color: #999999;
  font-size: 0.85rem;
  max-width: 320px;
}

.footer-links {
  display: flex;
  gap: 80px;
}

.footer-links h4 {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: #999999;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.footer-links a {
  display: block;
  font-size: 0.8rem;
  color: #cccccc;
  margin-bottom: 12px;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  max-width: 1440px;
  margin: 0 auto;
  border-top: 1px solid #222222;
  padding-top: 30px;
  text-align: center;
  font-size: 0.78rem;
  color: #777777;
}

/* Responsive */
@media (max-width: 1024px) {
  .header-container {
    padding: 20px 30px;
  }
  
  .hero {
    height: 520px;
  }
  
  .hero-content-overlay {
    padding: 0 30px;
  }
  
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .editorial-container {
    grid-template-columns: 1fr;
  }

  .lookbook-strip,
  .product-list {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .story-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .story-image {
    order: -1;
  }
  
  .services-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 77px;
    left: 0;
    width: 100%;
    height: calc(100vh - 77px);
    background-color: var(--bg-warm);
    flex-direction: column;
    padding: 40px;
    gap: 28px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  
  .mobile-toggle.active span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }
  
  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-toggle.active span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }
  
  .utility-link {
    display: none;
  }
  
  .hero {
    height: 440px;
  }
  
  .hero::after {
    background: linear-gradient(0deg, rgba(247, 244, 239, 0.98) 25%, rgba(247, 244, 239, 0.72) 65%, transparent 100%);
  }
  
  .hero-content-overlay {
    align-items: flex-end;
    padding: 20px;
  }
  
  .hero h1 {
    font-size: 2.1rem;
  }
  
  .btn-secondary {
    margin-left: 0;
    margin-top: 10px;
  }
  
  .hero-actions {
    flex-direction: column;
    display: flex;
  }
  
  .editorial-section, .story-section, .services-section {
    padding: 60px 20px;
  }

  .product-grid {
    padding: 60px 20px;
  }

  .lookbook-strip,
  .product-list {
    grid-template-columns: 1fr;
  }
  
  .services-container {
    grid-template-columns: 1fr;
  }
  
  .footer-container {
    flex-direction: column;
    gap: 40px;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 40px;
  }
}
