
:root {
  --bg: #121218;
  --bg2: #1a1a24;
  --bg3: #22222e;
  --gold: #C8963C;
  --gold-light: #dbb05c;
  --gold-dark: #a67a2e;
  --text: #e8e4dc;
  --text-muted: #8a8680;
  --border: #2a2a38;
  --font-cn: 'Noto Sans TC', sans-serif;
  --font-en: 'Inter', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-cn);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}
::selection { background: var(--gold); color: var(--bg); }

/* ─── Navigation ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 20px 48px;
  display: flex; justify-content: space-between; align-items: center;
  transition: .3s;
}
nav.scrolled { background: rgba(18,18,24,.92); backdrop-filter: blur(20px); padding: 14px 48px; border-bottom: 1px solid var(--border); }
.logo {
  font-family: var(--font-en);
  font-weight: 700; font-size: 14px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold);
  display: flex; flex-direction: column; gap: 0;
}
.logo-img { height: 36px; width: auto; display: block; }
.logo span { display: block; font-family: var(--font-cn); font-size: 11px; letter-spacing: 4px; color: var(--text-muted); font-weight: 300; margin-top: 2px; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 13px; letter-spacing: 1px; transition: .3s; font-weight: 400; }
.nav-links a:hover { color: var(--gold); }

/* ─── Hero ─── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; position: relative;
  padding: 120px 48px 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg .slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  filter: brightness(.35) saturate(.7);
  opacity: 0;
  animation: heroFade 25s infinite;
}
.hero-bg .slide::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(18,18,24,.85) 0%, transparent 60%, rgba(18,18,24,.4) 100%);
}
.hero-bg .slide:nth-child(1) { background-image: url('../images/hero_bg.webp'); animation-delay: 0s; }
.hero-bg .slide:nth-child(2) { background-image: url('../images/hero_slide2.webp'); animation-delay: 5s; }
.hero-bg .slide:nth-child(3) { background-image: url('../images/hero_slide3.webp'); animation-delay: 10s; }
.hero-bg .slide:nth-child(4) { background-image: url('../images/hero_slide4.webp'); animation-delay: 15s; }
.hero-bg .slide:nth-child(5) { background-image: url('../images/hero_slide5.webp'); animation-delay: 20s; }

@keyframes heroFade {
  0% { opacity: 0; }
  4% { opacity: 1; }
  20% { opacity: 1; }
  24% { opacity: 0; }
  100% { opacity: 0; }
}
.hero-content { position: relative; z-index: 1; max-width: 720px; }
.hero-tag {
  display: inline-block;
  border: 1px solid var(--gold); color: var(--gold);
  font-size: 11px; letter-spacing: 3px; padding: 6px 18px;
  margin-bottom: 30px; font-weight: 400;
}
.hero h1 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700; line-height: 1.3;
  margin-bottom: 8px;
  word-break: keep-all;
  overflow-wrap: normal;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .sub {
  font-size: 18px; color: var(--text-muted);
  margin-bottom: 40px; font-weight: 300;
  letter-spacing: 2px;
}
.hero .desc {
  font-size: 15px; color: var(--text-muted);
  line-height: 1.9; max-width: 540px;
  margin-bottom: 48px;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--gold); color: var(--bg);
  padding: 14px 36px; text-decoration: none;
  font-size: 13px; letter-spacing: 2px; font-weight: 500;
  transition: .3s;
}
.hero-cta:hover { background: var(--gold-light); transform: translateY(-2px); }
.hero-scroll {
  position: absolute; bottom: 48px; left: 50%; transform: translateX(-50%);
  color: var(--text-muted); font-size: 11px; letter-spacing: 2px;
  animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }

/* ─── Sections ─── */
.section {
  padding: 100px 48px;
  max-width: 1200px; margin: 0 auto;
}
.section-header { margin-bottom: 64px; }
.section-tag {
  display: inline-block;
  color: var(--gold); font-size: 11px; letter-spacing: 3px;
  margin-bottom: 12px; font-weight: 400;
}
.section-title {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600; margin-bottom: 12px;
}
.section-desc { color: var(--text-muted); font-size: 15px; }

/* ─── Service detail cards grid ─── */
.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
}
.service-detail-card {
  background: var(--bg2); border: 1px solid var(--border);
  padding: 28px 24px;
  transition: .3s;
}
.service-detail-card:hover { border-color: var(--gold); }
.service-detail-card h3 { color: var(--gold); font-size: 16px; margin-bottom: 8px; font-weight: 500; }
.service-detail-card h3 .emoji { margin-right: 6px; }
.service-detail-card p { color: var(--text-muted); font-size: 13px; line-height: 1.7; margin-bottom: 12px; }
.service-detail-card .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.service-detail-card .tags span {
  background: var(--bg3); color: var(--text-muted);
  font-size: 10px; padding: 3px 10px; letter-spacing: 1px;
}

@media (max-width: 1100px) {
  .service-detail-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .service-detail-grid { grid-template-columns: 1fr; }
  .service-detail-card { padding: 20px 16px; }
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
}
#services {
  max-width: 100%;
  padding: 100px 64px;
}
#services .section-header {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.service-card {
  background: var(--bg2); padding: 40px 32px;
  border: 1px solid var(--border);
  transition: .3s; cursor: default;
}
.service-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.service-icon { font-size: 28px; margin-bottom: 20px; display: block; }
.service-card h3 { font-size: 16px; margin-bottom: 12px; font-weight: 500; letter-spacing: 1px; }
.service-card p { font-size: 13px; color: var(--text-muted); line-height: 1.8; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.service-tags span {
  background: var(--bg3); color: var(--text-muted);
  font-size: 11px; padding: 4px 12px; letter-spacing: 1px;
}

/* ─── Portfolio ─── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 20px;
}
.portfolio-item {
  position: relative; overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--bg2); border: 1px solid var(--border);
  cursor: pointer; transition: .3s;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.portfolio-item:hover { border-color: var(--gold); }
.portfolio-item .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,18,24,.15) 0%, rgba(18,18,24,.85) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 32px; transition: .3s;
}
.portfolio-item:hover .overlay { background: linear-gradient(180deg, rgba(18,18,24,.1) 0%, rgba(18,18,24,.75) 100%); }
.portfolio-item .overlay .year {
  color: #fff; font-size: 10px; letter-spacing: 2px;
  font-family: var(--font-en); margin-bottom: 6px;
  opacity: .7;
}
.portfolio-item .overlay h4 {
  font-size: 17px; font-weight: 700;
  color: #fff; margin-bottom: 8px;
  line-height: 1.3;
}
.portfolio-item .overlay p {
  font-size: 13px; color: #fff; line-height: 1.6;
  margin-bottom: 8px; opacity: .85;
}
.portfolio-item .overlay .role {
  display: inline-block;
  color: #fff; font-size: 11px;
  letter-spacing: 1px; padding: 4px 12px;
  margin-top: 8px; opacity: .7;
}

/* ─── Portfolio Modal ─── */
.modal-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.75);
  backdrop-filter: blur(4px);
  justify-content: center; align-items: center;
  padding: 40px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--bg2);
  border: 1px solid var(--border);
  max-width: 900px; width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalIn .3s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  background: none; border: none; color: var(--text);
  font-size: 28px; cursor: pointer; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  transition: .3s; line-height: 1;
}
.modal-close:hover { color: var(--gold); transform: rotate(90deg); }
.modal-image {
  width: 100%;
  aspect-ratio: 16/9;
  background-size: cover; background-position: center;
  border-bottom: 1px solid var(--border);
}
.modal-body {
  padding: 36px;
}
.modal-body .year {
  color: var(--gold); font-size: 12px; letter-spacing: 2px;
  font-family: var(--font-en); margin-bottom: 8px;
}
.modal-body h3 {
  font-size: 22px; font-weight: 600; margin-bottom: 12px;
}
.modal-body .role {
  display: inline-block;
  background: rgba(200,150,60,.15); color: var(--gold);
  font-size: 11px; letter-spacing: 1px; padding: 4px 14px;
  margin-bottom: 20px;
}
.modal-body .desc {
  color: var(--text-muted); font-size: 14px; line-height: 1.9;
}

/* ─── Partners ─── */
.partners {
  background: var(--bg2);
  padding: 80px 36px; text-align: center;
}
.partner-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 32px;
  margin: 48px auto 0; padding: 0 10px;
}
.partner-item {
  height: 100px;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  opacity: 0.7; transition: opacity .3s, transform .3s;
}
.partner-item.large {
  height: 130px;
}
.partner-item.xl {
  height: 160px;
}
.partner-item img {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  object-fit: contain;
  display: block;
}
.partner-item:hover { opacity: 1; transform: translateY(-2px); }
.mobile-partners { display: none; }
@media (max-width: 768px) {
  .desktop-partners { display: none; }
  .mobile-partners { display: grid; }
}

/* ─── About ─── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: start;
}
.about-image {
  background: var(--bg2); border: 1px solid var(--border);
  aspect-ratio: 4/3;
  background: url('../images/working_back.webp?v2') center/cover no-repeat;
  filter: saturate(.8);
  position: relative;
}
.about-image::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(18,18,24,0.45) 0%, rgba(18,18,24,0.2) 100%);
}
.about-text h3 { font-size: 22px; margin-bottom: 20px; font-weight: 500; }
.about-title { line-height: 1.5; }
.about-title em {
  display: block;
  font-style: normal;
  color: var(--gold);
  font-weight: 300;
  font-size: 17px;
  letter-spacing: 3px;
  margin-top: 4px;
}
.about-text p { color: var(--text-muted); font-size: 14px; margin-bottom: 16px; line-height: 2; }
.about-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.about-stat-item {
  text-align: center;
  padding: 20px 12px;
}
.about-stat-item .icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--bg3);
  margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.about-stat-item .num {
  font-size: 26px; font-weight: 700; color: var(--gold);
  font-family: var(--font-en);
  margin-bottom: 4px;
}
.about-stat-item .label {
  font-size: 13px; color: var(--text-muted);
  letter-spacing: 1px;
}

/* ─── Team ─── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px; margin-top: 48px;
}
.team-card {
  background: var(--bg2); border: 1px solid var(--border);
  padding: 24px; text-align: center;
  transition: .3s;
}
.team-card:hover { border-color: var(--gold); }
.team-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--bg3); margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--gold);
}
.team-card h4 { font-size: 14px; font-weight: 500; }
.team-card .role { font-size: 11px; color: var(--text-muted); margin-top: 4px; letter-spacing: 1px; }
.team-card .exp { font-size: 11px; color: var(--gold); margin-top: 8px; }

/* ─── Contact ─── */
.contact-section {
  background: linear-gradient(135deg, var(--bg2) 0%, var(--bg) 100%);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-info h3 { font-size: 20px; margin-bottom: 24px; font-weight: 500; }
.contact-item { display: flex; gap: 16px; margin-bottom: 20px; align-items: flex-start; }
.contact-item .icon { color: var(--gold); font-size: 18px; min-width: 24px; }
.contact-item .detail { font-size: 14px; color: var(--text-muted); }
.contact-item .detail strong { color: var(--text); font-weight: 500; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  background: var(--bg2); border: 1px solid var(--border);
  padding: 14px 18px; color: var(--text);
  font-family: var(--font-cn); font-size: 14px;
  margin-bottom: 16px; transition: .3s; outline: none;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--gold); }
.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C8963C' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  cursor: pointer;
}
.form-group { margin-bottom: 16px; }
.form-label {
  display: block; font-size: 12px; color: var(--text-muted);
  margin-bottom: 6px; letter-spacing: 1px;
}
/* ─── Pill-style option buttons ─── */
.option-group { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.option-group input[type="radio"] { display: none; }
.option-group label {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 13px;
  cursor: pointer;
  transition: .3s;
  font-family: var(--font-cn);
  border-radius: 4px;
}
.option-group label:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.option-group input[type="radio"]:checked + label {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}
.contact-form textarea { height: 120px; resize: vertical; }
.contact-form button {
  background: var(--gold); color: var(--bg);
  border: none; padding: 14px 36px;
  font-size: 13px; letter-spacing: 2px; font-weight: 500;
  cursor: pointer; transition: .3s;
  font-family: var(--font-cn);
}
.contact-form button:hover { background: var(--gold-light); }

/* ─── Footer ─── */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 32px 48px;
  font-size: 12px; color: var(--text-muted);
  letter-spacing: 1px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.footer-brand .logo {
  margin-bottom: 0;
}
.footer-brand p {
  font-size: 12px; color: var(--text-muted);
  line-height: 1.6;
  border-left: 1px solid var(--border);
  padding-left: 20px;
}
.footer-social {
  display: flex; gap: 6px;
}
.footer-social a {
  width: 30px; height: 30px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  transition: .3s;
  color: var(--text-muted);
  font-size: 12px;
}
.footer-social a:hover { border-color: var(--gold); }
.footer-social a img { width: 16px; height: 16px; display: block; border-radius: 0; }
.footer-social a img.s-icon { width: 18px; height: 18px; display: block; }

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.fc-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.footer-contact .fc-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px; color: var(--text-muted);
  white-space: nowrap;
}
.footer-contact .fc-item .fc-icon {
  font-size: 13px;
}
.footer-contact a {
  color: var(--gold);
  text-decoration: none;
  transition: .3s;
}
.footer-contact a:hover { color: var(--gold-light); }

.footer-bottom {
  text-align: center;
  padding: 16px 0;
  font-size: 11px; color: var(--text-muted);
  border-top: 1px solid var(--border);
  margin-top: 32px;
}

/* ─── Floating Contact Sidebar ─── */
.floating-contact {
  position: fixed;
  right: 20px;
  bottom: 40px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.floating-contact a {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  font-size: 20px;
  transition: .3s;
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
}
.floating-contact .fc-form {
  background: var(--gold);
  color: #000;
}
.floating-contact .fc-form:hover {
  background: var(--gold-light);
  transform: scale(1.05);
}
.floating-contact .fc-line {
  background: #06C755;
  color: #fff;
}
.floating-contact .fc-line:hover {
  transform: scale(1.05);
}
.floating-contact .fc-fb {
  background: #1877F2;
  color: #fff;
  font-size: 22px;
}
.floating-contact .fc-fb:hover {
  transform: scale(1.05);
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  nav { padding: 16px 24px; }
  nav.scrolled { padding: 12px 24px; }
  .nav-links { display: none; }
  .hero { padding: 100px 24px 60px; }
  .section { padding: 60px 24px; }
  .partners { padding: 60px 24px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .partner-item { height: auto; min-height: 35px; padding: 4px; }
  .partner-item.large { height: auto; min-height: 35px; padding: 4px; }
  .partner-item.xl { height: auto; min-height: 35px; padding: 4px; }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 15px; }
  .section h2 { font-size: 24px; }
  .service-card { padding: 16px 16px; }
  .service-card h3 { font-size: 14px; margin-bottom: 6px; }
  .service-card p { font-size: 12px; line-height: 1.6; }
  .service-icon { font-size: 20px; margin-bottom: 10px; }
  .service-tags { margin-top: 8px; gap: 6px; }
  .service-tags span { font-size: 10px; padding: 3px 10px; }
  #services { padding: 60px 16px; }
  .service-icon { font-size: 20px; margin-bottom: 0; display: inline; vertical-align: middle; }
  .service-card h3 { font-size: 14px; margin-bottom: 6px; display: inline; vertical-align: middle; margin-left: 6px; }
  .service-card p { margin-top: 10px; }
  .contact-form { padding: 16px; }
  .contact-grid { gap: 30px; }
  .option-group label { padding: 8px 12px; font-size: 12px; }
  .footer-inner { flex-direction: column; gap: 16px; align-items: flex-start; }
  footer { padding: 24px 20px; }
  .footer-brand { flex-wrap: wrap; gap: 12px; }
  .footer-brand p { border-left: none; padding-left: 0; }
  .footer-contact { align-items: flex-start; gap: 6px; }
  .fc-row { justify-content: flex-start; gap: 14px; flex-wrap: wrap; }
  .footer-bottom { padding: 12px 0; margin-top: 20px; }
  .floating-contact a { width: 42px; height: 42px; font-size: 17px; }
  .about-stats-row { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .about-stat-item { padding: 12px 8px; }
}

@media (max-width: 480px) {
  .partner-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .partner-item { height: auto; min-height: 25px; padding: 2px; }
  .partner-item.large { height: auto; min-height: 25px; padding: 2px; }
  .partner-item.xl { height: auto; min-height: 25px; padding: 2px; }
  .hero { padding: 80px 16px 40px; }
  .section { padding: 40px 16px; }
  .hero h1 { font-size: 24px; }
  .section h2 { font-size: 20px; }
  .founder-grid { gap: 20px; }
  .founder-image { max-width: 200px; }
  .founder-section { padding: 60px 24px !important; }
  .option-group label { padding: 6px 10px; font-size: 11px; }
  .contact-info { padding-left: 0; padding-right: 0; }
  footer { padding: 32px 16px 0; }
}

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

/* ─── Mobile menu ─── */
.mobile-toggle {
  display: none; background: none; border: none;
  color: var(--text); font-size: 24px; cursor: pointer;
}
@media (max-width: 768px) {
  .mobile-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(18,18,24,.98); padding: 24px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
  }
}

/* ─── Founder (創辦人介紹) ─── */
.founder-section {
  padding: 100px 0;
}
.founder-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 60px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}
.founder-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.founder-image img {
  width: 100%;
  height: auto;
  display: block;
}
.founder-image .badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: var(--gold);
  color: #000;
  font-size: 11px;
  padding: 6px 14px;
  letter-spacing: 2px;
  font-weight: 500;
}
.founder-name {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 4px;
}
.founder-name em {
  color: var(--gold);
  font-style: normal;
}
.founder-title {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 2px;
  margin-bottom: 24px;
  line-height: 1.8;
}
.founder-desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 2;
  margin-bottom: 20px;
}
.founder-tag {
  display: inline-block;
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 2px;
  border: 1px solid var(--gold);
  padding: 4px 14px;
  margin-bottom: 20px;
}
.founder-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}
.founder-highlight-item {
  background: var(--bg2);
  border: 1px solid var(--border);
  padding: 14px 18px;
  font-size: 13px;
  line-height: 1.6;
  transition: .3s;
}
.founder-highlight-item:hover {
  border-color: var(--gold);
}
.founder-highlight-item .hl-icon {
  font-size: 16px;
  margin-right: 8px;
}
.founder-highlight-item .hl-label {
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 1px;
  margin-bottom: 2px;
}
.founder-highlight-item .hl-text {
  color: var(--text);
  font-weight: 400;
}
.founder-philosophy {
  margin-top: 32px;
  padding: 24px 28px;
  background: var(--bg2);
  border-left: 3px solid var(--gold);
  font-size: 14px;
  line-height: 2;
  color: var(--text-muted);
  font-style: italic;
}
.founder-philosophy strong {
  color: var(--gold);
  font-style: normal;
}
@media (max-width: 768px) {
  .founder-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .founder-image {
    max-width: 280px;
    margin: 0 auto;
  }
  .founder-highlights {
    grid-template-columns: 1fr;
  }
}

/* ─── Carousel scrollbar ─── */
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track { scrollbar-width: none; -ms-overflow-style: none; }
.carousel-track .portfolio-item:hover {
  border-color: var(--gold) !important;
  transform: translateY(-4px);
}

/* ─── Mobile refinements ─── */
@media (max-width: 768px) {
  /* Section top padding for fixed nav */
  .section {
    padding-top: 100px !important;
  }
  /* Hero section already has its own padding */
  .hero {
    padding-top: 100px !important;
  }
  /* Carousel: no negative margins on mobile */
  .carousel-container {
    margin: 0 !important;
  }
  .carousel-track {
    padding: 4px 0 !important;
    overflow-x: auto !important;
  }
  .carousel-track .portfolio-item {
    min-width: 240px !important;
    max-width: 240px !important;
  }
  /* Credit list: tighter padding */
  .credit-track {
    padding: 4px 16px !important;
  }
  .credit-line {
    font-size: 11px;
    line-height: 1.8;
  }
  /* Stats row padding */
  .about-stats-row {
    padding: 30px 16px 40px !important;
  }
  /* Partner mobile grid */
  .mobile-partners {
    display: grid;
  }
  .desktop-partners {
    display: none;
  }
  /* Inline CTA divs on about/works */
  div[style*="padding:60px 48px"] {
    padding: 40px 20px !important;
  }
  /* Contact info items: tighter spacing */
  .contact-item {
    gap: 10px !important;
    margin-bottom: 12px !important;
  }
  .contact-item .detail {
    font-size: 13px !important;
    line-height: 1.4 !important;
  }
  /* Portfolio modal on mobile */
  #portfolio-modal {
    align-items: flex-start !important;
    padding-top: 60px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  #portfolio-modal .modal-content {
    padding: 24px !important;
    margin: 0 auto 30px !important;
  }
  #portfolio-modal .modal-body {
    padding: 0 !important;
  }
  #portfolio-modal #modal-image {
    height: auto !important;
    aspect-ratio: 16/9;
  }
  #portfolio-modal #modal-title {
    font-size: 18px !important;
  }
  #portfolio-modal [id="modal-meta"] {
    font-size: 11px !important;
  }
  #portfolio-modal #modal-desc {
    font-size: 13px !important;
    line-height: 1.6 !important;
  }
}

/* ─── Scroll-to-Top Button ─── */
#scroll-top {
  position: fixed; bottom: 210px; right: 20px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gold); color: var(--bg);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; opacity: 0; visibility: hidden;
  transition: opacity .3s, transform .3s, visibility .3s;
  z-index: 999; box-shadow: 0 4px 15px rgba(200,150,60,.3);
}
#scroll-top.visible { opacity: 1; visibility: visible; }
#scroll-top:hover { transform: translateY(-3px); }
@media (max-width: 768px) { #scroll-top { bottom: 190px; right: 14px; width: 38px; height: 38px; font-size: 16px; } }

/* ─── FAQ Accordion ─── */
.faq-list { max-width: 800px; margin: 48px auto 0; }
.faq-item {
  border-bottom: 1px solid rgba(200,150,60,.15);
  padding: 0; overflow: hidden;
}
.faq-question {
  width: 100%; background: none; border: none;
  padding: 20px 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 16px; color: var(--text); font-weight: 500;
  text-align: left; font-family: var(--font-tc);
  transition: color .3s;
}
.faq-question:hover { color: var(--gold); }
.faq-question .icon { 
  font-size: 18px; transition: transform .3s;
  color: var(--gold); flex-shrink: 0; margin-left: 16px;
}
.faq-item.open .faq-question .icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .4s ease, padding .4s ease;
  padding: 0;
}
.faq-item.open .faq-answer {
  max-height: 500px; padding: 0 0 20px;
}
.faq-answer p {
  color: var(--text-muted); font-size: 14px; line-height: 1.8;
  margin: 0;
}

/* ─── Testimonials ─── */
.testimonials { background: var(--bg2); padding: 80px 36px; text-align: center; }
.testimonial-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 20px; max-width: 1200px; margin: 48px auto 0;
}
.testimonial-card {
  background: var(--bg); padding: 32px 24px; border-radius: 12px;
  text-align: left; position: relative;
  border: 1px solid rgba(200,150,60,.08);
}
.testimonial-card::before {
  content: '"'; position: absolute; top: 8px; left: 16px;
  font-size: 48px; color: var(--gold); opacity: .3;
  font-family: Georgia, serif; line-height: 1;
}
.testimonial-card p {
  color: var(--text-muted); font-size: 14px; line-height: 1.8;
  margin: 8px 0 20px; font-style: italic;
}
.testimonial-card .author {
  font-size: 13px; color: var(--gold); font-weight: 500;
}
.testimonial-card .role {
  font-size: 11px; color: var(--text-muted); letter-spacing: 1px;
}
@media (max-width: 768px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}

/* ─── Page Transition ─── */
body { opacity: 0; transition: opacity .3s ease; }
body.loaded { opacity: 1; }

/* ─── Smooth Scroll ─── */
html { scroll-behavior: smooth; }

/* ─── Card Hover Refinement ─── */
.service-card { transition: transform .3s ease, box-shadow .3s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(200,150,60,.12); }

/* ─── Nav Active Indicator ─── */
.nav-links a { position: relative; }
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--gold);
  transition: width .3s ease;
}
.nav-links a:hover::after,
.nav-links a[style*="var(--gold)"]::after { width: 100%; }

/* ─── Carousel Touch Refinement ─── */
.carousel-track { scroll-behavior: smooth; -webkit-overflow-scrolling: touch; }

/* ─── Portfolio Image Zoom ─── */
.portfolio-item { transition: transform .4s ease; }
.portfolio-item:hover { transform: scale(1.02); }

/* ─── Mobile toggle animation ─── */
.mobile-toggle { transition: transform .2s; }
.mobile-toggle:active { transform: scale(.9); }
