/*
Theme Name: 序 Sequence
Theme URI: https://sequence.tw
Author: Sequence
Author URI: https://sequence.tw
Description: 序 Sequence 品牌官方主題 — 身體整理、空間整理、生活整理
Version: 1.0.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sequence
*/

/* ===== RESET & BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --gold: #BEC23F;
  --gold-hover: #a8ac35;
  --black: #2c2c2a;
  --dark: #1a1b18;
  --white: #edecea;
  --gray: #888;
  --light-gray: #e4e3df;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ===== TYPOGRAPHY ===== */
.font-serif { font-family: 'Noto Serif TC', serif; }
.font-mono { font-family: 'Space Mono', monospace; }

/* ===== NAVIGATION ===== */
.seq-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  height: 64px;
  background: rgba(237,236,234,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}

.seq-nav.scrolled {
  background: rgba(237,236,234,0.97);
  box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}

.seq-nav-left { display: flex; gap: 2rem; align-items: center; }
.seq-nav-left a {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--black);
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.3s;
}
.seq-nav-left a:hover { opacity: 1; }

.seq-nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}
.seq-nav-center .logo-text {
  font-family: 'Noto Serif TC', serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.seq-nav-center .logo-sub {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.5;
}

.seq-nav-right a {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: var(--black);
  color: #fff;
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  transition: all 0.3s;
}
.seq-nav-right a:hover { background: #333; }

/* Nav Dropdown */
.seq-nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}
.seq-nav-dropdown > a {
  cursor: pointer;
}
.seq-nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 140px;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  transform: translateX(-50%) translateY(8px);
  z-index: 1002;
}
.seq-nav-dropdown:hover .seq-nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.seq-nav-dropdown-menu a {
  display: block;
  padding: 0.6rem 1.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--black);
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.2s, background 0.2s;
  white-space: nowrap;
}
.seq-nav-dropdown-menu a:hover {
  opacity: 1;
  background: rgba(190,194,63,0.1);
}

/* Mobile Nav Toggle */
.seq-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
}
.seq-nav-toggle span {
  width: 24px;
  height: 1.5px;
  background: var(--black);
  transition: all 0.3s;
  display: block;
}

/* ===== HERO ===== */
.seq-hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 64px;
}

.seq-hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 5rem;
}

.seq-hero-tag {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  opacity: 0.5;
  margin-bottom: 3rem;
}

.seq-hero-logo-char {
  font-family: 'Noto Serif TC', serif;
  font-size: 10rem;
  font-weight: 900;
  line-height: 1;
  position: relative;
  display: inline-block;
}
.seq-hero-logo-char::after {
  content: '';
  position: absolute;
  bottom: 0.1em;
  left: 0;
  width: 0.5em;
  height: 4px;
  background: var(--gold);
}

.seq-hero-logo-en {
  font-family: 'Space Mono', monospace;
  font-size: 1.1rem;
  font-style: italic;
  letter-spacing: 0.2em;
  opacity: 0.7;
  margin-top: 0.5rem;
}

.seq-hero-tagline {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 2;
  opacity: 0.7;
  margin-top: 3rem;
}

.seq-hero-right {
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.seq-hero-right-top {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Geometric squares */
.seq-geo-container {
  position: relative;
  width: 360px;
  height: 360px;
  overflow: hidden;
  clip-path: inset(0);
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.seq-geo-square {
  position: absolute;
  border: 1px solid rgba(0,0,0,0.15);
  transition: all 0.6s ease;
}
.seq-geo-square:nth-child(1) { inset: 0; animation: seqGeo1 20s infinite linear; }
.seq-geo-square:nth-child(2) { inset: 40px; animation: seqGeo2 25s infinite linear; }
.seq-geo-square:nth-child(3) { inset: 80px; animation: seqGeo1 30s infinite linear reverse; }
.seq-geo-square:nth-child(4) {
  inset: 120px;
  background: var(--gold);
  border-color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}
.seq-geo-square:nth-child(4)::after {
  content: '序';
  font-family: 'Noto Serif TC', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--black);
}

@keyframes seqGeo1 {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes seqGeo2 {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}

/* Hero Services */
.seq-hero-services {
  border-top: 1px solid rgba(0,0,0,0.08);
}
.seq-hero-services a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 3rem;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  text-decoration: none;
  color: var(--black);
  transition: all 0.3s;
}
.seq-hero-services a:last-child { border-bottom: none; }
.seq-hero-services a:hover { padding-left: 3.5rem; background: rgba(0,0,0,0.015); }

.seq-svc-num {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  opacity: 0.3;
  margin-right: 2rem;
}
.seq-svc-name {
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  flex: 1;
}
.seq-svc-name-en {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.4;
  margin-left: 1rem;
}
.seq-svc-arrow {
  font-size: 1.2rem;
  opacity: 0.3;
  transition: all 0.3s;
}
.seq-hero-services a:hover .seq-svc-arrow { opacity: 0.8; transform: translateX(4px); }

/* ===== SECTION COMMON ===== */
.seq-section { padding: 8rem 0; }
.seq-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 80vh; }

.seq-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.4;
  margin-bottom: 3rem;
}
.seq-label span { opacity: 0.6; margin: 0 0.5rem; }

.seq-highlight {
  background: var(--gold);
  padding: 0.05em 0.15em;
  display: inline;
}

/* ===== ABOUT ===== */
.seq-about-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 5rem;
}
.seq-about-heading {
  font-family: 'Noto Serif TC', serif;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.6;
}
.seq-about-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 5rem;
  border-left: 1px solid rgba(0,0,0,0.08);
}
.seq-about-text {
  font-size: 1rem;
  line-height: 2.2;
  font-weight: 300;
  opacity: 0.75;
  margin-bottom: 2rem;
}
.seq-about-divider {
  width: 100%;
  height: 1px;
  background: rgba(0,0,0,0.1);
  margin: 2.5rem 0;
}
.seq-about-sub {
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 0.8rem;
}
.seq-about-sub-text {
  font-size: 0.95rem;
  line-height: 2;
  font-weight: 300;
  opacity: 0.65;
}

/* ===== WHAT WE DO ===== */
.seq-whatwedo {
  background: var(--dark);
  color: #fff;
}
.seq-whatwedo-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.seq-whatwedo-bar-label { font-size: 0.85rem; opacity: 0.5; }
.seq-whatwedo-bar-en {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.3;
}
.seq-whatwedo-content { display: grid; grid-template-columns: 1fr 1fr; }
.seq-whatwedo-left {
  padding: 6rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.seq-whatwedo-left .seq-label { opacity: 0.3; }
.seq-whatwedo-heading {
  font-family: 'Noto Serif TC', serif;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 2rem;
}
.seq-whatwedo-right {
  padding: 6rem 5rem;
  border-left: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.seq-whatwedo-text {
  font-size: 0.95rem;
  line-height: 2.2;
  font-weight: 300;
  opacity: 0.6;
  margin-bottom: 1.5rem;
}

/* Venn diagram */
.seq-venn-wrap { display: flex; justify-content: center; margin-top: 3rem; }
.seq-venn { position: relative; width: 260px; height: 240px; }
.seq-venn-circle {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
}
.seq-venn-circle:nth-child(1) { top: 0; left: 50%; transform: translateX(-50%); }
.seq-venn-circle:nth-child(2) { bottom: 10px; left: 10px; }
.seq-venn-circle:nth-child(3) { bottom: 10px; right: 10px; }
.seq-venn-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -10%);
  width: 14px;
  height: 14px;
  background: var(--gold);
  border-radius: 50%;
}
.seq-venn-label {
  position: absolute;
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  opacity: 0.4;
}
.seq-venn-label.vl-top { top: -20px; left: 50%; transform: translateX(-50%); }
.seq-venn-label.vl-bl { bottom: -10px; left: -10px; }
.seq-venn-label.vl-br { bottom: -10px; right: -10px; }

/* ===== SERVICE SECTIONS ===== */
.seq-svc-bar {
  display: flex;
  align-items: center;
  padding: 1.2rem 5rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  position: sticky;
  top: 64px;
  background: rgba(237,236,234,0.95);
  backdrop-filter: blur(8px);
  z-index: 10;
}
.seq-svc-bar-num {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  opacity: 0.3;
  margin-right: 2rem;
}
.seq-svc-bar-name { font-size: 0.85rem; letter-spacing: 0.1em; }
.seq-svc-bar-en {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.3;
  margin-left: auto;
}

.seq-svc-content { display: grid; grid-template-columns: 1fr 1fr; min-height: 80vh; }
.seq-svc-info {
  padding: 6rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.seq-svc-heading {
  font-family: 'Noto Serif TC', serif;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 2.5rem;
}
.seq-svc-desc {
  font-size: 0.95rem;
  line-height: 2.2;
  font-weight: 300;
  opacity: 0.7;
  margin-bottom: 1.5rem;
}
.seq-svc-list {
  margin-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.seq-svc-list-item {
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
  font-weight: 400;
  opacity: 0.8;
}
.seq-svc-list-item::before {
  content: '';
  display: block;
  width: 16px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.seq-svc-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid rgba(0,0,0,0.08);
  background: var(--light-gray);
  position: relative;
  overflow: hidden;
}

/* Spine (Body Work) */
.seq-spine {
  position: relative;
  width: 200px;
  height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.seq-spine-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(0,0,0,0.1);
  transform: translateX(-50%);
}
.seq-spine-vert {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.seq-spine-block {
  height: 18px;
  border: 1px solid rgba(0,0,0,0.12);
  background: var(--white);
  transition: all 0.4s ease;
  position: relative;
}
.seq-spine-vert:nth-child(2)  .seq-spine-block { width: 40px; margin: 3px 0; }
.seq-spine-vert:nth-child(3)  .seq-spine-block { width: 50px; margin: 3px 0; }
.seq-spine-vert:nth-child(4)  .seq-spine-block { width: 60px; margin: 3px 0; }
.seq-spine-vert:nth-child(5)  .seq-spine-block { width: 72px; margin: 3px 0; }
.seq-spine-vert:nth-child(6)  .seq-spine-block { width: 80px; margin: 3px 0; }
.seq-spine-vert:nth-child(7)  .seq-spine-block { width: 88px; margin: 3px 0; }
.seq-spine-vert:nth-child(8)  .seq-spine-block { width: 94px; margin: 3px 0; }
.seq-spine-vert:nth-child(9)  .seq-spine-block { width: 98px; margin: 3px 0; }
.seq-spine-vert:nth-child(10) .seq-spine-block { width: 100px; margin: 3px 0; }
.seq-spine-vert:nth-child(11) .seq-spine-block { width: 98px; margin: 3px 0; }
.seq-spine-vert:nth-child(12) .seq-spine-block { width: 94px; margin: 3px 0; }
.seq-spine-vert:nth-child(13) .seq-spine-block { width: 86px; margin: 3px 0; }
.seq-spine-vert:nth-child(14) .seq-spine-block { width: 76px; margin: 4px 0; }
.seq-spine-vert:nth-child(15) .seq-spine-block { width: 70px; margin: 4px 0; }
.seq-spine-vert:nth-child(16) .seq-spine-block { width: 62px; margin: 5px 0; }
.seq-spine-vert:nth-child(17) .seq-spine-block { width: 52px; margin: 5px 0; }

.seq-spine-vert.active .seq-spine-block {
  background: var(--gold);
  border-color: var(--gold);
  animation: seqSpinePulse 3s infinite ease-in-out;
}

.seq-spine-block::before,
.seq-spine-block::after {
  content: '';
  position: absolute;
  top: 50%;
  height: 1px;
  width: 12px;
  background: rgba(0,0,0,0.06);
  transform: translateY(-50%);
}
.seq-spine-block::before { right: 100%; margin-right: 2px; }
.seq-spine-block::after { left: 100%; margin-left: 2px; }

.seq-spine-vert.active .seq-spine-block::before,
.seq-spine-vert.active .seq-spine-block::after {
  background: var(--gold);
  opacity: 0.5;
  width: 20px;
}

.seq-spine-label {
  position: absolute;
  font-family: 'Space Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.seq-spine-label-top {
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.25;
}
.seq-spine-label-side {
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  opacity: 0.7;
  font-size: 0.5rem;
}

@keyframes seqSpinePulse {
  0%, 100% { transform: scaleX(1); }
  50% { transform: scaleX(1.08); }
}

/* Floorplan (Space Work) */
.seq-floorplan { position: relative; width: 300px; height: 300px; }
.seq-fp-room { position: absolute; border: 1px solid rgba(0,0,0,0.15); }
.seq-fp-room:nth-child(1) { top: 0; left: 0; width: 180px; height: 160px; }
.seq-fp-room:nth-child(2) { top: 0; right: 0; width: 140px; height: 80px; border-left: none; }
.seq-fp-room:nth-child(3) { bottom: 0; left: 0; width: 120px; height: 160px; border-top: none; }
.seq-fp-room:nth-child(4) {
  bottom: 20px;
  right: 20px;
  width: 120px;
  height: 100px;
  background: rgba(232,200,64,0.15);
  border-color: var(--gold);
}
.seq-fp-accent { position: absolute; height: 4px; background: var(--gold); }
.seq-fp-accent:nth-child(5) { top: 0; left: 60px; width: 50px; }
.seq-fp-accent:nth-child(6) { top: 0; right: 40px; width: 40px; }
.seq-fp-dash {
  position: absolute;
  border-bottom: 1px dashed rgba(0,0,0,0.12);
  width: 80px;
  top: 160px;
  left: 80px;
  transform: rotate(-30deg);
  transform-origin: left;
}

/* Room Grid (Life Work) */
.seq-life-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
  position: relative;
  border-left: 1px solid rgba(255,255,255,0.04);
}
.seq-room-grid {
  display: grid;
  grid-template-columns: repeat(3, 80px);
  grid-template-rows: repeat(3, 80px);
  gap: 8px;
  position: relative;
}
.seq-room-cell {
  border: 1px solid rgba(255,255,255,0.12);
}
.seq-room-cell.gold {
  background: var(--gold);
  border-color: var(--gold);
}
.seq-room-cell.empty { border-color: transparent; }
.seq-room-grid-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.3);
  text-align: center;
  margin-top: 1.5rem;
}

/* ===== BUTTONS ===== */
.seq-btn-primary {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--black);
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  transition: all 0.3s;
  margin-top: 2rem;
  border: none;
  cursor: pointer;
}
.seq-btn-primary:hover { background: #333; transform: translateY(-1px); color: #fff; }

.seq-btn-outline {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: transparent;
  color: var(--black);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  border: 1px solid rgba(0,0,0,0.2);
  transition: all 0.3s;
  margin-top: 2rem;
  margin-left: 1rem;
  cursor: pointer;
}
.seq-btn-outline:hover { border-color: var(--black); }

.seq-btn-gold {
  display: inline-block;
  padding: 1rem 3rem;
  background: var(--gold);
  color: var(--black);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}
.seq-btn-gold:hover { background: var(--gold-hover); transform: translateY(-1px); }

/* ===== CONTACT FORM ===== */
.seq-contact-form {
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
}
.seq-form-row {
  margin-bottom: 1.5rem;
}
.seq-form-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
  opacity: 0.5;
  color: #fff;
}
.seq-form-input,
.seq-form-select,
.seq-form-textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.3s;
}
.seq-form-input:focus,
.seq-form-select:focus,
.seq-form-textarea:focus {
  border-color: var(--gold);
}
.seq-form-input::placeholder,
.seq-form-textarea::placeholder {
  color: rgba(255,255,255,0.2);
}
.seq-form-select {
  appearance: none;
  -webkit-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='%23888' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
}
.seq-form-select option {
  background: var(--dark);
  color: #fff;
}
.seq-form-textarea {
  min-height: 100px;
  resize: vertical;
}
.seq-form-submit {
  width: 100%;
  margin-top: 0.5rem;
}
.seq-form-note {
  font-size: 0.65rem;
  opacity: 0.3;
  text-align: center;
  margin-top: 1rem;
  color: #fff;
}

/* ===== BLOG SECTION (Homepage) ===== */
.seq-blog-section {
  padding: 6rem 5rem;
  background: var(--light-gray);
}
.seq-blog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3rem;
}
.seq-blog-heading {
  font-family: 'Noto Serif TC', serif;
  font-size: 1.8rem;
  font-weight: 700;
}
.seq-blog-link {
  font-size: 0.85rem;
  color: var(--black);
  text-decoration: none;
  opacity: 0.5;
  transition: opacity 0.3s;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}
.seq-blog-link:hover { opacity: 1; }

.seq-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.seq-blog-card {
  background: var(--white);
  transition: all 0.3s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.seq-blog-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.08); }

.seq-blog-card-img {
  width: 100%;
  height: 220px;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.seq-blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.seq-blog-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Noto Serif TC', serif;
  font-size: 2rem;
  color: var(--gold);
  opacity: 0.3;
}

.seq-blog-card-body { padding: 1.5rem; }

.seq-blog-card-tag {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.seq-blog-card-tag::before {
  content: '';
  width: 12px;
  height: 1px;
  background: var(--gold);
}

.seq-blog-card-title {
  font-family: 'Noto Serif TC', serif;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 0.8rem;
}

.seq-blog-card-excerpt {
  font-size: 0.85rem;
  line-height: 1.8;
  opacity: 0.55;
  font-weight: 300;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.seq-blog-card-date {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  opacity: 0.3;
  letter-spacing: 0.1em;
  margin-top: 1rem;
}

/* ===== BLOG PAGE (Standalone) ===== */
.seq-blog-page {
  padding-top: 120px;
  padding-bottom: 6rem;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 3rem;
  padding-right: 3rem;
  min-height: 80vh;
}
.seq-blog-page-header { margin-bottom: 3rem; }
.seq-blog-page-title {
  font-family: 'Noto Serif TC', serif;
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.seq-blog-page-desc {
  font-size: 0.95rem;
  opacity: 0.5;
  font-weight: 300;
  line-height: 2;
}

.seq-blog-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.seq-blog-tab {
  padding: 0.55rem 1.3rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  border: 1px solid rgba(0,0,0,0.12);
  background: transparent;
  color: var(--black);
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}
.seq-blog-tab:hover { border-color: var(--black); color: var(--black); }
.seq-blog-tab.active {
  background: var(--black);
  color: #fff;
  border-color: var(--black);
}

@media (max-width: 1024px) {
  .seq-blog-grid { grid-template-columns: repeat(2, 1fr); }
  .seq-blog-section { padding: 4rem 3rem; }
}
@media (max-width: 768px) {
  .seq-geo-container {
    width: 220px;
    height: 220px;
    clip-path: inset(0);
  }
  .seq-geo-square:nth-child(2) { inset: 24px; }
  .seq-geo-square:nth-child(3) { inset: 49px; }
  .seq-geo-square:nth-child(4) { inset: 73px; }
  .seq-geo-square:nth-child(4)::after { font-size: 1.4rem; }
  .seq-hero-right { overflow: hidden; }
  .seq-blog-grid { grid-template-columns: 1fr; }
  .seq-blog-section { padding: 3rem 1.5rem; }
  .seq-blog-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .seq-blog-page { padding-left: 1.5rem; padding-right: 1.5rem; padding-top: 100px; }
  .seq-blog-page-title { font-size: 1.8rem; }
}

/* ===== CONTACT ===== */
.seq-contact {
  background: var(--dark);
  color: #fff;
  padding: 8rem 5rem;
  text-align: center;
}
.seq-contact-heading {
  font-family: 'Noto Serif TC', serif;
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.seq-contact-text {
  font-size: 1rem;
  line-height: 2;
  font-weight: 300;
  opacity: 0.5;
  max-width: 500px;
  margin: 0 auto 2.5rem;
}

/* ===== FOOTER ===== */
.seq-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.3);
  padding: 3rem 5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.seq-footer-logo {
  font-family: 'Noto Serif TC', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
}
.seq-footer-text {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
}

/* ===== SCROLL ANIMATIONS ===== */
.seq-fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.seq-fade-in.visible { opacity: 1; transform: translateY(0); }

.seq-fade-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.seq-fade-left.visible { opacity: 1; transform: translateX(0); }

.seq-fade-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.seq-fade-right.visible { opacity: 1; transform: translateX(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .seq-hero { grid-template-columns: 1fr; }
  .seq-hero-left { padding: 3rem; min-height: 60vh; }
  .seq-hero-right { min-height: 50vh; border-left: none; border-top: 1px solid rgba(0,0,0,0.08); }
  .seq-hero-logo-char { font-size: 7rem; }
  .seq-hero-services { position: relative; }

  .seq-split,
  .seq-whatwedo-content,
  .seq-svc-content { grid-template-columns: 1fr; }

  .seq-about-left, .seq-about-right,
  .seq-whatwedo-left, .seq-whatwedo-right,
  .seq-svc-info { padding: 4rem 3rem; }

  .seq-about-right, .seq-whatwedo-right {
    border-left: none;
    border-top: 1px solid rgba(0,0,0,0.08);
  }

  .seq-svc-visual, .seq-life-visual {
    min-height: 50vh;
    border-left: none;
    border-top: 1px solid rgba(0,0,0,0.08);
  }

  /* 生活整理: visual在HTML中排前面，手機上要移到文字後面 */
  #lifework .seq-svc-visual { order: 2; }
  #lifework .seq-svc-info { order: 1; }

  .seq-svc-bar, .seq-whatwedo-bar { padding: 1.2rem 3rem; }
  .seq-contact { padding: 6rem 3rem; }
  .seq-footer { padding: 2rem 3rem; flex-direction: column; gap: 1rem; text-align: center; }
}

@media (max-width: 768px) {
  .seq-nav { padding: 0 1.5rem; }
  .seq-nav-left { display: none; }
  .seq-nav-toggle { display: flex; }

  .seq-nav-left.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    z-index: 999;
  }
  .seq-nav-left.open a { font-size: 1rem; opacity: 0.8; }

  .seq-nav-dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    opacity: 1;
    visibility: visible;
    padding: 0 0 0 1rem;
  }
  .seq-nav-dropdown-menu a {
    font-size: 0.9rem;
    padding: 0.4rem 0;
    opacity: 0.6;
  }

  .seq-hero-left { padding: 2rem 1.5rem; }
  .seq-hero-logo-char { font-size: 5rem; }
  .seq-hero-tagline { font-size: 0.95rem; }
  .seq-hero-services a { padding: 1rem 1.5rem; }

  .seq-about-left, .seq-about-right,
  .seq-whatwedo-left, .seq-whatwedo-right,
  .seq-svc-info { padding: 3rem 1.5rem; }

  .seq-about-heading { font-size: 1.35rem; }
  .seq-svc-heading, .seq-whatwedo-heading, .seq-contact-heading { font-size: 1.8rem; }
  .seq-svc-bar { padding: 1rem 1.5rem; top: 64px; }
  .seq-whatwedo-bar { padding: 1rem 1.5rem; }
  .seq-contact { padding: 4rem 1.5rem; }
  .seq-footer { padding: 2rem 1.5rem; }

  .seq-geo-container { width: 240px; height: 240px; }
  .seq-geo-square:nth-child(2) { inset: 30px; }
  .seq-geo-square:nth-child(3) { inset: 60px; }
  .seq-geo-square:nth-child(4) { inset: 90px; }

  .seq-btn-outline { margin-left: 0; display: block; text-align: center; }
}

/* ===== WORDPRESS OVERRIDES ===== */
/* Remove default WP margins */
.site { margin: 0; padding: 0; }
body.home { margin: 0; }

/* Hide WP admin bar spacing if needed */
body.admin-bar .seq-nav { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .seq-nav { top: 46px; }
}
