:root {
  --pcl-bg: #f8f6f0;
  --pcl-surface: #ffffff;
  --pcl-surface-light: #f2eee3;
  --pcl-ink: #0d2b1d;
  --pcl-muted: #576b61;
  --pcl-gold: #b38e46;
  --pcl-gold-light: #d4af37;
  --pcl-line: rgba(13, 43, 29, 0.12);
  --pcl-shadow: 0 10px 30px rgba(13, 43, 29, 0.05);
  --pcl-shadow-hover: 0 18px 40px rgba(13, 43, 29, 0.1);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', -apple-system, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body.postcraft-body {
  background: var(--pcl-bg);
  color: var(--pcl-ink);
  font-family: var(--sans);
  margin: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Header */
.pcl-header {
  height: 90px;
  padding: 0 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--pcl-line);
  background: rgba(248, 246, 240, 0.94);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.pcl-brand {
  display: flex;
  align-items: center;
  gap: 20px;
}

.pcl-group-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--pcl-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color .25s, transform .2s;
}

.pcl-group-back:hover {
  color: var(--pcl-gold);
  transform: translateX(-2px);
}

.pcl-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.pcl-brand-logo img {
  height: 38px;
  width: auto;
  display: block;
}

.pcl-logo {
  font-family: var(--sans);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--pcl-ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.pcl-logo span {
  color: var(--pcl-gold);
}

.pcl-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 12px;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.pcl-nav a {
  color: var(--pcl-muted);
  text-decoration: none;
  transition: color .2s;
}

.pcl-nav a:hover {
  color: var(--pcl-ink);
}

/* Header Language Switcher */
.pcl-header .lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: #eae5d8;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid rgba(13, 43, 29, 0.08);
}

.pcl-header .lang-btn {
  background: transparent;
  border: none;
  color: var(--pcl-muted);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .2s ease;
}

.pcl-header .lang-btn:hover {
  color: var(--pcl-ink);
}

.pcl-header .lang-btn.active {
  background: #ffffff;
  color: var(--pcl-ink);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(13, 43, 29, 0.08);
}

/* Hero Section */
.pcl-hero {
  padding: 90px 6% 80px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--pcl-line);
}

.pcl-hero:before {
  content: '';
  position: absolute;
  top: -15%;
  right: -5%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.pcl-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 2.2px;
  color: var(--pcl-gold);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 24px;
}

.pcl-badge-line {
  width: 28px;
  height: 1.5px;
  background: var(--pcl-gold);
}

.pcl-hero h1 {
  font-family: var(--serif);
  font-size: clamp(46px, 5.2vw, 80px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -1.5px;
  color: var(--pcl-ink);
  margin: 0 0 26px;
}

.pcl-hero h1 em {
  font-style: italic;
  color: var(--pcl-gold);
  font-weight: 400;
}

.pcl-hero p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--pcl-muted);
  max-width: 540px;
  margin: 0 0 36px;
}

.pcl-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.pcl-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 30px;
  background: var(--pcl-ink);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 4px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all .25s ease;
  box-shadow: 0 6px 18px rgba(13, 43, 29, 0.15);
}

.pcl-btn-primary:hover {
  background: #17422e;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(13, 43, 29, 0.22);
}

.pcl-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 28px;
  border: 1px solid var(--pcl-line);
  color: var(--pcl-ink);
  background: #ffffff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 4px;
  text-decoration: none;
  transition: all .25s ease;
}

.pcl-btn-outline:hover {
  border-color: var(--pcl-gold);
  background: var(--pcl-surface-light);
  transform: translateY(-2px);
}

/* AI Visual Atelier Feature Box (Hero Art) */
.pcl-hero-art {
  position: relative;
  height: 440px;
  background: linear-gradient(150deg, #0d2b1d 0%, #153e2b 60%, #0a2116 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 8px;
  padding: 42px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 25px 60px rgba(13, 43, 29, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  color: #f8f6f0;
}

.pcl-art-metric {
  font-family: var(--sans);
  line-height: 1;
}

.pcl-art-metric-wrap {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}

.pcl-art-metric-num {
  font-size: 78px;
  font-weight: 800;
  letter-spacing: -3px;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.pcl-art-metric-x {
  font-size: 56px;
  font-weight: 900;
  color: #f7cb50;
  line-height: 1;
  letter-spacing: 0;
  margin-left: 3px;
  text-shadow: 0 0 24px rgba(247, 203, 80, 0.5);
}

.pcl-art-metric small {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #a4beaf;
  display: block;
  margin-top: 14px;
  text-transform: uppercase;
}

.pcl-art-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pcl-art-tag {
  font-size: 10px;
  letter-spacing: 1px;
  font-weight: 600;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 30px;
  color: #f2eee3;
}

/* Services Section */
.pcl-section {
  padding: 95px 6%;
  border-bottom: 1px solid var(--pcl-line);
}

.pcl-section-heading {
  margin-bottom: 54px;
}

.pcl-section-heading h2 {
  font-family: var(--serif);
  font-size: clamp(38px, 4.2vw, 56px);
  margin: 14px 0 0;
  font-weight: 400;
  letter-spacing: -1px;
  color: var(--pcl-ink);
}

.pcl-section-heading h2 em {
  font-style: italic;
  color: var(--pcl-gold);
}

.pcl-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
}

.pcl-service-card {
  background: var(--pcl-surface);
  border: 1px solid var(--pcl-line);
  padding: 38px 32px;
  border-radius: 6px;
  box-shadow: var(--pcl-shadow);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.pcl-service-card:hover {
  transform: translateY(-4px);
  border-color: var(--pcl-gold);
  box-shadow: var(--pcl-shadow-hover);
}

.pcl-service-num {
  font-size: 11px;
  color: var(--pcl-gold);
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 20px;
}

.pcl-service-card h3 {
  font-family: var(--serif);
  font-size: 26px;
  margin: 0 0 14px;
  font-weight: 500;
  color: var(--pcl-ink);
  letter-spacing: -0.5px;
}

.pcl-service-card p {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--pcl-muted);
  margin: 0;
}

/* Selected Works (Portfolio) Showcase */
.pcl-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.pcl-work-card {
  background: var(--pcl-surface);
  border: 1px solid var(--pcl-line);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--pcl-shadow);
  transition: all .3s ease;
}

.pcl-work-card:hover {
  border-color: var(--pcl-gold);
  box-shadow: var(--pcl-shadow-hover);
  transform: translateY(-3px);
}

.pcl-work-preview {
  height: 250px;
  background: linear-gradient(135deg, #f2eee3 0%, #e6decb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  position: relative;
  border-bottom: 1px solid var(--pcl-line);
}

.pcl-mockup-frame {
  width: 100%;
  max-width: 270px;
  background: #ffffff;
  border: 1px solid rgba(13, 43, 29, 0.12);
  border-radius: 6px;
  padding: 16px;
  box-shadow: 0 14px 30px rgba(13, 43, 29, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pcl-mockup-bar {
  display: flex;
  gap: 5px;
  margin-bottom: 2px;
}

.pcl-mockup-bar span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(13, 43, 29, 0.2);
}

.pcl-mockup-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--pcl-ink);
}

.pcl-mockup-tag {
  align-self: flex-start;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #8c6a28;
  background: rgba(179, 142, 70, 0.14);
  padding: 3px 8px;
  border-radius: 3px;
}

.pcl-work-body {
  padding: 32px 34px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pcl-work-meta {
  font-size: 10px;
  letter-spacing: 1.8px;
  color: var(--pcl-gold);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.pcl-work-body h3 {
  font-family: var(--serif);
  font-size: 26px;
  margin: 0 0 12px;
  color: var(--pcl-ink);
  letter-spacing: -0.5px;
}

.pcl-work-body p {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--pcl-muted);
  margin: 0 0 24px;
}

.pcl-work-link {
  font-size: 11.5px;
  letter-spacing: 1px;
  color: var(--pcl-ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid var(--pcl-gold);
  padding-bottom: 4px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .2s ease;
}

.pcl-work-link:hover {
  color: var(--pcl-gold);
  border-bottom-color: var(--pcl-ink);
  transform: translateX(2px);
}

/* Contact / Project Brief Form */
.pcl-contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.pcl-form {
  background: var(--pcl-surface);
  border: 1px solid var(--pcl-line);
  border-radius: 8px;
  padding: 36px;
  box-shadow: var(--pcl-shadow);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pcl-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pcl-form-group label {
  font-size: 11px;
  letter-spacing: 1.2px;
  color: var(--pcl-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.pcl-form-group input,
.pcl-form-group select,
.pcl-form-group textarea {
  background: #faf8f5;
  border: 1px solid var(--pcl-line);
  color: var(--pcl-ink);
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: 13.5px;
  border-radius: 4px;
  transition: all .2s ease;
}

.pcl-form-group input:focus,
.pcl-form-group select:focus,
.pcl-form-group textarea:focus {
  outline: none;
  border-color: var(--pcl-gold);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(179, 142, 70, 0.15);
}

.pcl-form-group select option {
  background: #ffffff;
  color: var(--pcl-ink);
}

.pcl-form-submit {
  align-self: flex-start;
  margin-top: 6px;
  cursor: pointer;
}

/* Footer */
.pcl-footer {
  padding: 40px 6%;
  border-top: 1px solid var(--pcl-line);
  background: var(--pcl-bg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  color: var(--pcl-muted);
  flex-wrap: wrap;
  gap: 20px;
}

.pcl-footer a {
  text-decoration: none;
  transition: color .2s;
}

.pcl-footer a:hover {
  color: var(--pcl-ink);
}

/* RTL Support */
html[dir="rtl"] body.postcraft-body {
  text-align: right;
}
html[dir="rtl"] .pcl-group-back {
  flex-direction: row-reverse;
}
html[dir="rtl"] .pcl-work-link {
  align-self: flex-end;
}
html[dir="rtl"] .pcl-form-submit {
  align-self: flex-end;
}

/* Responsive */
@media(max-width: 900px) {
  .pcl-header {
    height: auto;
    padding: 16px 6%;
    flex-wrap: wrap;
    gap: 14px;
  }
  .pcl-hero {
    grid-template-columns: 1fr;
    padding-top: 50px;
    gap: 40px;
  }
  .pcl-portfolio-grid {
    grid-template-columns: 1fr;
  }
  .pcl-contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .pcl-nav {
    display: none;
  }
  .pcl-form {
    padding: 24px;
  }
}
