/* IvyLaneOS — Handcrafted Goods Theme */

:root {
  --bg: #faf7f2;
  --surface: #f5f0e8;
  --primary: #2c1e0f;
  --accent: #8FA67A;
  --accent-light: #b8c9a8;
  --accent-muted: #d4e0c8;
  --warm: #c4713b;
  --text: #2c1e0f;
  --text-muted: #6b5a42;
  --text-light: #9c8b72;
  --border: #e2d9c8;
}

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

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.75rem 3rem;
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--primary);
}

.nav-tagline {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Hero */
.hero {
  position: relative;
  padding: 7rem 3rem 6rem;
  overflow: hidden;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-muted) 0%, transparent 70%);
  opacity: 0.4;
  pointer-events: none;
}

.hero-inner {
  max-width: 700px;
  position: relative;
  z-index: 1;
}

.hero-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.label-line {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--accent);
}

.hero-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--primary);
  margin-bottom: 2rem;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.7;
}

.hero-ornament {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.6;
  animation: spin 60s linear infinite;
}

@keyframes spin {
  from { transform: translateY(-50%) rotate(0deg); }
  to { transform: translateY(-50%) rotate(360deg); }
}

/* Philosophy */
.philosophy {
  padding: 6rem 3rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.philosophy-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.philosophy-badge {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.3rem 1rem;
  border-radius: 100px;
  margin-bottom: 2.5rem;
}

.philosophy-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.4;
  color: var(--primary);
  margin-bottom: 1.75rem;
}

.philosophy-body {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.75;
}

/* Craft */
.craft {
  padding: 7rem 3rem;
}

.craft-header {
  text-align: center;
  margin-bottom: 4rem;
}

.craft-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.craft-sub {
  font-size: 1rem;
  color: var(--text-muted);
}

.craft-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto auto;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.craft-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.craft-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--accent);
  transition: height 0.4s ease;
}

.craft-card:hover::before {
  height: 100%;
}

.craft-card--tall {
  grid-row: span 2;
}

.craft-card--wide {
  grid-column: span 2;
}

.craft-card-inner {
  position: relative;
  z-index: 1;
}

.craft-icon {
  margin-bottom: 1.25rem;
}

.craft-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.craft-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Closing */
.closing {
  padding: 8rem 3rem;
  background: var(--primary);
  color: #f5ede0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.closing::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 800px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(143,166,122,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.closing-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.closing-ornament {
  margin-bottom: 2.5rem;
}

.closing-statement {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.3;
  margin-bottom: 1.75rem;
  color: #f5ede0;
}

.closing-tagline {
  font-size: 0.85rem;
  color: rgba(245,237,224,0.6);
  letter-spacing: 0.04em;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 3rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 900px;
  margin: 0 auto;
}

.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.04em;
}

.footer-loc {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-loc-name {
  font-weight: 500;
  color: var(--accent);
}

/* Responsive */
@media (max-width: 768px) {
  .nav { padding: 1.25rem 1.5rem; }
  .hero { padding: 4rem 1.5rem 4rem; min-height: auto; }
  .hero-ornament { display: none; }
  .philosophy { padding: 4rem 1.5rem; }
  .craft { padding: 4rem 1.5rem; }
  .craft-grid { grid-template-columns: 1fr; }
  .craft-card--tall { grid-row: span 1; }
  .craft-card--wide { grid-column: span 1; }
  .closing { padding: 5rem 1.5rem; }
  .footer { padding: 2rem 1.5rem; }
  .footer-inner { flex-direction: column; gap: 0.5rem; text-align: center; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 2.5rem; }
  .craft-card { padding: 2rem 1.5rem; }
}