/* Shared studio shell. Every selector stays inside these two components. */
.sf-header, .sf-footer {
  --sf-font: "Avenir Next", Avenir, "PingFang HK", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  box-sizing: border-box;
  font-family: var(--sf-font);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: normal;
  text-align: left;
  -webkit-font-smoothing: antialiased;
}
.sf-header *, .sf-footer * { box-sizing: border-box; }
.sf-header a, .sf-footer a { color: inherit; text-decoration: none; }
.sf-header a:focus-visible, .sf-footer a:focus-visible, .sf-header summary:focus-visible { outline: 2px solid #858585; outline-offset: 5px; }
.sf-header { position: relative; z-index: 30; padding-inline: clamp(24px, 4vw, 64px); border-bottom: 1px solid #d4d4d0; color: #191919; background: #f5f5f3; }
.sf-header .sf-header-inner { display: flex; align-items: center; gap: 26px; width: 100%; max-width: 1280px; height: 84px; margin-inline: auto; }
.sf-header .sf-brand, .sf-footer .sf-brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.sf-header .sf-brand img, .sf-footer .sf-brand img { display: block; width: 40px; height: 40px; max-width: none; border-radius: 50%; object-fit: cover; }
.sf-header .sf-brand-copy, .sf-footer .sf-brand-copy { display: grid; gap: 6px; line-height: 1; }
.sf-header .sf-brand-copy strong, .sf-footer .sf-brand-copy strong { font-size: 12px; font-weight: 750; letter-spacing: .07em; }
.sf-header .sf-brand-copy > span, .sf-footer .sf-brand-copy > span { color: #747470; font-size: 8px; font-weight: 400; letter-spacing: .22em; }
.sf-header .sf-desktop-nav { display: flex; align-items: center; gap: clamp(17px, 1.7vw, 24px); margin-left: auto; }
.sf-header .sf-desktop-nav a { position: relative; padding-block: 15px; color: #4d4d49; font-size: 13px; font-weight: 500; white-space: nowrap; }
.sf-header .sf-desktop-nav a:hover, .sf-header .sf-desktop-nav a[aria-current] { color: #151515; text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 1px; }
.sf-header .sf-header-cta { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; min-height: 42px; padding: 11px 18px; border: 1px solid #1b1b1b; color: #fff; background: #1b1b1b; font-size: 12px; font-weight: 600; line-height: 1.5; white-space: nowrap; }
.sf-header .sf-header-cta:hover { border-color: #41413d; background: #41413d; }
.sf-header .sf-mobile-nav { display: none; margin: 0; }
.sf-footer { padding: 58px clamp(24px, 4vw, 64px) 24px; color: #d3d3cc; background: #191919; }
.sf-footer .sf-footer-inner { width: 100%; max-width: 1280px; margin-inline: auto; }
.sf-footer .sf-footer-lead { display: flex; justify-content: space-between; align-items: flex-end; gap: 35px; padding-bottom: 36px; border-bottom: 1px solid #ffffff2e; }
.sf-footer .sf-footer-lead h2 { margin: 0; color: #f4f4ef; font-family: var(--sf-font); font-size: clamp(42px, 4.6vw, 64px); font-style: normal; font-weight: 600; letter-spacing: -.055em; line-height: 1.18; }
.sf-footer .sf-footer-enquiry { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; min-height: 43px; margin-bottom: 4px; padding: 11px 25px; border: 1px solid #edede7; color: #191919; background: #edede7; font-size: 12px; font-weight: 600; line-height: 1.5; }
.sf-footer .sf-footer-enquiry:hover { border-color: #fff; background: #fff; }
.sf-footer .sf-footer-grid { display: grid; grid-template-columns: 1.25fr .85fr .85fr 1.15fr; gap: 45px; padding-top: 37px; }
.sf-footer .sf-brand img { width: 42px; height: 42px; }
.sf-footer .sf-brand-copy strong { color: #f1f1eb; font-size: 12px; }
.sf-footer .sf-brand-copy > span { color: #a3a39a; }
.sf-footer .sf-footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; min-width: 0; }
.sf-footer .sf-footer-column h2 { margin: 0 0 7px; color: #f0f0e9; font-family: var(--sf-font); font-size: 12px; font-style: normal; font-weight: 600; line-height: 1.6; letter-spacing: .02em; }
.sf-footer .sf-footer-column a { max-width: 100%; color: #bcbcb3; font-size: 13px; font-weight: 400; line-height: 1.8; overflow-wrap: anywhere; }
.sf-footer .sf-footer-column a:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.sf-footer .sf-footer-bottom { display: flex; justify-content: space-between; align-items: baseline; gap: 18px 45px; margin-top: 38px; padding-top: 20px; border-top: 1px solid #ffffff2e; }
.sf-footer .sf-footer-bottom p { margin: 0; color: #a8a89f; font-size: 11px; font-weight: 400; line-height: 1.8; }
.sf-footer .sf-footer-bottom p:first-child { flex-shrink: 0; }
@media (max-width: 1120px) {
  .sf-header .sf-header-inner { gap: 19px; }
  .sf-header .sf-desktop-nav { gap: 16px; }
  .sf-header .sf-desktop-nav a { font-size: 12px; }
  .sf-footer .sf-footer-grid { gap: 30px; }
}
@media (max-width: 1000px) {
  .sf-header .sf-desktop-nav { display: none; }
  .sf-header .sf-header-cta { margin-left: auto; }
  .sf-header .sf-mobile-nav { position: relative; display: block; flex-shrink: 0; }
  .sf-header .sf-mobile-nav summary { display: flex; align-items: center; justify-content: center; width: 44px; height: 42px; margin: 0; padding: 0; border: 1px solid #adada7; border-radius: 0; color: #262626; background: transparent; font-size: 12px; font-weight: 500; line-height: 1.5; list-style: none; cursor: pointer; }
  .sf-header .sf-mobile-nav summary::-webkit-details-marker { display: none; }
  .sf-header .sf-mobile-nav[open] summary { border-color: #1b1b1b; }
  .sf-header .sf-mobile-nav nav { position: absolute; z-index: 1; top: 63px; right: 0; display: grid; gap: 0; width: min(320px, calc(100vw - 48px)); min-width: 0; margin: 0; padding: 10px 23px; border: 1px solid #c8c8c2; background: #f5f5f3; box-shadow: none; transform-origin: top right; }
  .sf-header .sf-mobile-nav nav a { display: block; margin: 0; padding: 14px 0; border: 0; color: #454540; font-size: 13px; font-weight: 400; line-height: 1.6; }
  .sf-header .sf-mobile-nav nav a + a { border-top: 1px solid #d8d8d1; }
  .sf-header .sf-mobile-nav nav a[aria-current] { color: #111; font-weight: 650; }
  .sf-header .sf-mobile-nav nav a:hover { color: #111; text-decoration: underline; text-underline-offset: 5px; }
  .sf-footer .sf-footer-grid { grid-template-columns: 1fr 1fr; gap: 35px 60px; }
}
@media (max-width: 680px) {
  .sf-header .sf-header-inner { height: 72px; gap: 9px; }
  .sf-header .sf-brand { gap: 8px; }
  .sf-header .sf-brand img { width: 34px; height: 34px; }
  .sf-header .sf-brand-copy { gap: 5px; }
  .sf-header .sf-brand-copy strong { font-size: 10px; }
  .sf-header .sf-brand-copy > span { font-size: 6px; }
  .sf-header .sf-header-cta { min-height: 38px; padding: 9px 12px; font-size: 11px; }
  .sf-header .sf-mobile-nav summary { width: 40px; height: 38px; font-size: 11px; }
  .sf-header .sf-mobile-nav nav { top: 55px; }
  .sf-footer { padding-top: 43px; }
  .sf-footer .sf-footer-lead { align-items: flex-start; flex-direction: column; gap: 24px; padding-bottom: 29px; }
  .sf-footer .sf-footer-lead h2 { font-size: clamp(36px, 8.8vw, 48px); }
  .sf-footer .sf-footer-enquiry { min-height: 40px; margin: 0; padding: 10px 20px; font-size: 11px; }
  .sf-footer .sf-footer-grid { gap: 32px 26px; padding-top: 30px; }
  .sf-footer .sf-brand { align-items: flex-start; flex-direction: column; gap: 14px; }
  .sf-footer .sf-brand img { width: 34px; height: 34px; }
  .sf-footer .sf-brand-copy strong { font-size: 10px; }
  .sf-footer .sf-brand-copy > span { font-size: 7px; }
  .sf-footer .sf-footer-column { gap: 10px; }
  .sf-footer .sf-footer-column h2 { font-size: 11px; }
  .sf-footer .sf-footer-column a { font-size: 12px; }
  .sf-footer .sf-footer-bottom { align-items: flex-start; flex-direction: column; gap: 10px; margin-top: 32px; padding-top: 18px; }
  .sf-footer .sf-footer-bottom p { font-size: 10px; }
}
