/* ---------- shared section styles ---------- */
section {
  position: relative;
  z-index: 1;
  padding: 130px 6vw;
  max-width: 1180px;
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  color: #8a662c;
  border: 1px solid rgba(200, 147, 63, 0.35);
  background: rgba(200, 147, 63, 0.08);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 18px;
  color: #201f1c;
}

.section-desc {
  color: #6b6b6b;
  font-size: 1.05rem;
  line-height: 1.9;
  max-width: 640px;
}

.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 50px;
}

.about-card .section-desc {
  text-align: justify;
}

.about-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
  border-radius: 20px;
  padding: 34px;
  box-shadow: 0 12px 30px -18px rgba(0, 0, 0, 0.15);
}

.skill-bars {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 30px;
}

@media (max-width: 560px) {
  .skill-bars { grid-template-columns: 1fr; }
}

.skill-bar-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
  font-size: 0.92rem;
}

.skill-bar-label {
  color: #2b2b2b;
  font-weight: 600;
}

.skill-bar-percent {
  color: #c8933f;
  font-weight: 700;
}

.skill-bar-track {
  height: 8px;
  border-radius: 999px;
  background: #f0ede8;
  overflow: hidden;
}

.skill-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #e9b978, #c8933f);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 1s ease;
}

.skill-bar.in-view .skill-bar-fill {
  transform: scaleX(1);
}

.about-photo {
  border-radius: 24px;
  aspect-ratio: 1 / 1;
  background:
    linear-gradient(160deg, rgba(200, 147, 63, 0.28), rgba(233, 185, 120, 0.2)),
    repeating-linear-gradient(45deg, rgba(0,0,0,0.03) 0 2px, transparent 2px 14px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.2rem;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

/* ---------- Services ---------- */
.services-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 54px 30px;
  text-align: center;
}

.service-card {
  padding: 0;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
}

.service-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #201f1c;
}

.service-card p {
  color: #6b6b6b;
  font-size: 0.92rem;
  line-height: 1.8;
}

/* ---------- Process ---------- */
.process-card {
  margin-top: 50px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 12px 30px -18px rgba(0, 0, 0, 0.15);
  border-radius: 22px;
  padding: 14px;
}

.process-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  background: #f7f5f2;
  border-radius: 16px;
  padding: 8px;
}

.process-tab {
  flex: 1 1 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 14px;
  border-radius: 12px;
  border: none;
  background: transparent;
  color: #4a4a4a;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.process-tab svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: #c8933f;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.process-tab.active {
  background: #c8933f;
  color: #fff;
}

.process-tab.active svg {
  stroke: #fff;
}

.process-desc {
  padding: 30px 24px 20px;
  color: #6b6b6b;
  font-size: 0.98rem;
  line-height: 2;
  text-align: justify;
}

@media (max-width: 720px) {
  .process-tabs { flex-direction: column; }
  .process-tab { justify-content: flex-start; }
}

/* ---------- Portfolio ---------- */
.work-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.work-card {
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
  box-shadow: 0 12px 30px -20px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.work-card:hover {
  transform: translateY(-8px);
  border-color: rgba(200, 147, 63, 0.45);
  box-shadow: 0 20px 40px -18px rgba(200, 147, 63, 0.3);
}

.work-thumb {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
}

.work-thumb.theme-a { background: linear-gradient(135deg, #f0a8c4, #c8933f); }
.work-thumb.theme-b { background: linear-gradient(135deg, #7fd6ae, #4a9de0); }
.work-thumb.theme-c { background: linear-gradient(135deg, #f7cf7a, #ea8f4e); }

.work-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 0.72rem;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  color: #2b2b2b;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.work-body {
  padding: 22px 24px 26px;
}

.work-body h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: #201f1c;
}

.work-body p {
  color: #6b6b6b;
  font-size: 0.9rem;
  line-height: 1.75;
}

.work-tags {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.work-tags span {
  font-size: 0.75rem;
  color: #4a4a4a;
  background: #f7f5f2;
  padding: 4px 10px;
  border-radius: 8px;
}

.work-note {
  margin-top: 26px;
  color: #8a8a8a;
  font-size: 0.85rem;
}

/* ---------- Contact ---------- */
.contact-section {
  text-align: center;
}

.contact-section .section-desc {
  margin: 0 auto;
}

.contact-grid {
  margin-top: 54px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 30px 18px;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
  box-shadow: 0 10px 26px -20px rgba(0, 0, 0, 0.16);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 147, 63, 0.4);
  box-shadow: 0 16px 32px -18px rgba(200, 147, 63, 0.3);
}

.contact-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.contact-card .platform {
  font-weight: 700;
  font-size: 0.98rem;
  color: #201f1c;
}

.contact-card .handle {
  font-size: 0.82rem;
  color: #8a8a8a;
  direction: ltr;
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 6vw 50px;
  color: #b9b6b0;
  font-size: 0.85rem;
  background: #201f1c;
}

.footer-logo {
  display: block;
  height: 44px;
  width: auto;
  margin: 0 auto 16px;
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
