/* ==============================================================
   The Digital Workspace Website — Editorial redesign
   Same design language as the main site + inventory page.
   ============================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Manrope:wght@300;400;500;600;700&display=swap');

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

html, body {
  background: #FFFFFF;
  color: #1F1F1F;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: #1F1F1F;
}

.orange { color: #B85C38; font-style: italic; font-weight: 500; }
a { color: inherit; text-decoration: none; }

.navbar {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px clamp(24px, 5vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #EAE6DF;
}
.nav-logo { display: flex; align-items: center; gap: 14px; }
.logo-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border: 1px solid #D6D0C4;
  font-family: 'Cormorant Garamond', serif; font-size: 0.95rem;
  color: #B85C38; background: #FFFFFF;
}
.logo-main {
  display: block; font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; font-weight: 500; color: #1F1F1F; line-height: 1;
}
.logo-sub {
  display: block; font-size: 0.62rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: #8A867C; margin-top: 4px;
}
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { font-size: 0.85rem; font-weight: 500; color: #4A4740; transition: color 0.3s ease; }
.nav-links a:hover, .nav-links a.active { color: #B85C38; }
.nav-links a.active { position: relative; }
.nav-links a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1px; background: #B85C38;
}
.nav-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; font-size: 0.82rem; font-weight: 500;
  border: 1px solid #1F1F1F; color: #1F1F1F; background: transparent;
  transition: background 0.3s ease, color 0.3s ease;
}
.nav-btn:hover { background: #1F1F1F; color: #FFFFFF; }

.breadcrumb {
  max-width: 1240px; margin: 0 auto;
  padding: 28px clamp(24px, 5vw, 56px) 12px;
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: #8A867C;
}
.breadcrumb .orange { color: #B85C38; font-style: normal; }

.main-layout {
  max-width: 1240px; margin: 24px auto 0;
  padding: 0 clamp(24px, 5vw, 56px);
}

.project-hero { padding: 40px 0 32px; border-top: 1px solid #D6D0C4; }
.project-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 500; line-height: 1.02; letter-spacing: -0.015em;
  margin-bottom: 24px;
}
.project-hero p { max-width: 720px; font-size: 1.02rem; line-height: 1.7; color: #4A4740; }
.tech-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.tech-tags span {
  padding: 8px 14px; font-size: 0.74rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: #6B4629;
  background: #F5EBDD; border: 1px solid #EADFCB;
}

.divider { border: 0; border-top: 1px solid #EAE6DF; margin: 40px 0; }

.content-section { padding: 8px 0; }
.content-section h2 {
  display: flex; align-items: baseline; gap: 16px;
  font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 500; margin-bottom: 20px;
}
.section-icon {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 10px;
  font-family: 'Cormorant Garamond', serif; font-size: 1rem; font-style: italic;
  color: #B85C38; border: 1px solid #EADFCB; background: #F5EBDD;
}
.content-section p { max-width: 820px; font-size: 1rem; line-height: 1.75; color: #4A4740; }

.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0; border-top: 1px solid #EAE6DF; margin-top: 24px;
}
.feature-card {
  padding: 24px;
  border-bottom: 1px solid #EAE6DF;
  border-right: 1px solid #EAE6DF;
  opacity: 1; transform: none;
  transition: background 0.3s ease;
}
.feature-card:hover { background: #F7F5F2; }
.f-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; margin-bottom: 12px;
  font-size: 0.9rem; color: #B85C38;
  border: 1px solid #EADFCB; background: #F5EBDD;
}
.feature-card h3 { font-size: 1.25rem; font-weight: 500; margin-bottom: 6px; }
.feature-card p { font-size: 0.9rem; line-height: 1.6; color: #4A4740; }

.tech-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.tech-badge {
  padding: 8px 14px; font-size: 0.74rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: #1F1F1F;
  background: #FFFFFF; border: 1px solid #D6D0C4;
}

.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 20px; }
.benefit-col { display: flex; flex-direction: column; gap: 10px; }
.benefit {
  padding: 12px 0 12px 24px; position: relative;
  border-bottom: 1px dotted #D6D0C4;
  font-size: 0.95rem; color: #1F1F1F;
}
.benefit::before { content: '—'; position: absolute; left: 0; top: 12px; color: #B85C38; font-weight: 500; }

.cta-section, .cta-inner {
  margin-top: 80px;
  background: #B85C38;
  padding: 72px clamp(24px, 5vw, 56px);
  position: relative; overflow: hidden;
  color: #FFFFFF;
}
.cta-section::before, .cta-inner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(1000px 320px at 20% 0%, #6B4629 0%, transparent 60%),
              radial-gradient(700px 260px at 100% 100%, #4A2C18 0%, transparent 55%);
  opacity: 0.18; pointer-events: none;
}
/* The digitalworkspace.html markup uses .cta-inner as the outer band (no .cta-section wrapper) */
.cta-inner {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 32px; align-items: center;
  max-width: none;
}
.cta-inner > * { position: relative; }
.cta-icon {
  width: 68px; height: 68px; display: inline-flex; align-items: center;
  justify-content: center; font-size: 1.6rem;
  background: rgba(255, 255, 255, 0.08); color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.cta-text h2 { color: #FFFFFF; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 500; margin-bottom: 8px; }
.cta-text p { color: rgba(255, 255, 255, 0.85); font-size: 0.98rem; line-height: 1.7; max-width: 640px; }
.cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; font-size: 0.85rem; font-weight: 500;
  background: #FFFFFF; color: #1F1F1F;
  transition: background 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}
.cta-btn:hover { background: #1F1F1F; color: #FFFFFF; }

@media (max-width: 1000px) {
  .benefits-grid { grid-template-columns: 1fr; }
  .cta-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .cta-text p { margin: 0 auto; }
}
@media (max-width: 720px) {
  .navbar { flex-wrap: wrap; gap: 12px; }
  .nav-links { order: 3; width: 100%; gap: 18px; overflow-x: auto; padding-bottom: 4px; }
  .nav-btn { display: none; }
  .content-section h2 { font-size: 1.4rem; }
}
