Optimize studio-sample: shared CSS, mobile nav, SEO, a11y, working filter
- Extract duplicated per-page CSS into one shared style.css - Add CSS-only hamburger menu for ≤720px (was overflowing) - Add meta description / Open Graph / favicon to all pages - Unify footers, fix dead links, distinct <title>s - :focus-visible outlines, aria-hidden on decorative text, contrast bumps - Make works.html category filter actually filter (data-cat) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -4,14 +4,15 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
|
||||
|
||||
## Project Overview
|
||||
|
||||
Static portfolio website for **Studio Sample**, a Tokyo-based design and front-end studio. Three HTML files with embedded CSS and minimal vanilla JavaScript — intentionally zero frameworks, zero build tooling.
|
||||
Static portfolio website for **Studio Sample**, a Tokyo-based design and front-end studio. Four HTML pages sharing one stylesheet, with minimal vanilla JavaScript — intentionally zero frameworks, zero build tooling.
|
||||
|
||||
## Architecture
|
||||
|
||||
- **Pure static HTML/CSS/JS** — no package manager, no bundler, no preprocessor
|
||||
- All styles are embedded in each HTML file's `<style>` tag (no external stylesheets)
|
||||
- Responsive design via CSS Grid, Flexbox, and `clamp()` for fluid typography
|
||||
- The only JavaScript is a filter button toggle on `works.html` (~10 lines, lines 539–548)
|
||||
- **One shared stylesheet `style.css`** linked by all four pages (no inline `<style>` blocks). Edit it once → every page updates. Cross-page conflicts are resolved by parent scoping (`#works .works-grid` vs `.works-section .works-grid`) and modifier classes (`.cta-strip.red`).
|
||||
- Responsive via CSS Grid, Flexbox, and `clamp()` for fluid typography
|
||||
- Mobile nav (≤720px) is a **CSS-only checkbox-hack hamburger** (`#nav-toggle` + `.nav-burger` label) — no JS
|
||||
- The only JavaScript is the category filter on `works.html` (in-page `<script>`): cards carry `data-cat` (space-separated, can be multiple), buttons carry `data-cat`, and clicking toggles `display`
|
||||
|
||||
### Pages
|
||||
|
||||
@@ -19,17 +20,20 @@ Static portfolio website for **Studio Sample**, a Tokyo-based design and front-e
|
||||
|---|---|
|
||||
| `index.html` | Homepage: hero, features, works preview, process, about, news, contact form |
|
||||
| `services.html` | Services, pricing tiers (¥150K / ¥380K / custom), FAQ |
|
||||
| `works.html` | Portfolio grid with category filter (All / Branding / Web / Print / Identity) |
|
||||
| `works.html` | Portfolio grid with working category filter (All / Branding / Web / Print / Identity) |
|
||||
| `timeline.html` | Studio history timeline (2020 → 2026) |
|
||||
|
||||
## Development
|
||||
|
||||
Open any `.html` file directly in a browser — no build step or local server required. For live reload, any static file server works (e.g. `python3 -m http.server`).
|
||||
Open any `.html` directly in a browser — no build step. Served live by the parent Caddy server at `/studio-sample/`. Browser caches `style.css` aggressively; hard-reload after CSS edits.
|
||||
|
||||
There are no tests, linters, or CI pipelines.
|
||||
|
||||
## Style Conventions
|
||||
|
||||
- Color palette: `#e53935` (red accent), `#111111` (primary text), `#f7f7f7` / `#ffffff` (backgrounds)
|
||||
- Palette: `#e53935` (red accent), `#111111` (text/dark sections), `#f7f7f7` / `#ffffff` (backgrounds)
|
||||
- Typography: system font stack (`-apple-system`, `Segoe UI`, `Noto Sans TC/JP`)
|
||||
- Responsive breakpoints follow a mobile-first pattern; `clamp()` handles fluid type scaling
|
||||
- Mobile-first, `clamp()` for fluid type
|
||||
- Keyboard focus styling via `:focus-visible` (red outline); decorative elements (`.hero-bg-text`) are `aria-hidden`
|
||||
- Content is bilingual Traditional Chinese + English throughout
|
||||
- SEO: each page has `<meta name="description">` + Open Graph tags + an inline-SVG data-URI favicon
|
||||
|
||||
@@ -3,587 +3,24 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>STUDIO SAMPLE</title>
|
||||
<style>
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
html {
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
|
||||
"Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP",
|
||||
"Noto Sans TC", system-ui, sans-serif;
|
||||
background-color: #ffffff;
|
||||
color: #333333;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
/* ─── NAV ─────────────────────────────────────────────── */
|
||||
nav {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 100;
|
||||
background: #ffffff;
|
||||
border-bottom: 1px solid #eeeeee;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 0 clamp(16px, 5vw, 64px);
|
||||
height: 56px;
|
||||
}
|
||||
|
||||
.nav-logo {
|
||||
font-size: 18px;
|
||||
font-weight: 800;
|
||||
letter-spacing: 0.12em;
|
||||
color: #e53935;
|
||||
text-transform: uppercase;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.nav-links {
|
||||
display: flex;
|
||||
gap: clamp(16px, 3vw, 40px);
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.nav-links a {
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
color: #555555;
|
||||
text-decoration: none;
|
||||
transition: color 0.2s;
|
||||
}
|
||||
|
||||
.nav-links a:hover {
|
||||
color: #e53935;
|
||||
}
|
||||
|
||||
/* ─── HERO ────────────────────────────────────────────── */
|
||||
#hero {
|
||||
min-height: calc(100vh - 56px);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: flex-start;
|
||||
padding: clamp(48px, 8vw, 96px) clamp(24px, 8vw, 96px);
|
||||
background: #f7f7f7;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.hero-bg-text {
|
||||
position: absolute;
|
||||
right: -0.05em;
|
||||
bottom: -0.15em;
|
||||
font-size: clamp(120px, 18vw, 280px);
|
||||
font-weight: 900;
|
||||
letter-spacing: -0.02em;
|
||||
color: #eeeeee;
|
||||
user-select: none;
|
||||
line-height: 1;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.hero-eyebrow {
|
||||
font-size: clamp(11px, 1.2vw, 13px);
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.2em;
|
||||
text-transform: uppercase;
|
||||
color: #e53935;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.hero-title {
|
||||
font-size: clamp(36px, 6vw, 80px);
|
||||
font-weight: 800;
|
||||
letter-spacing: -0.02em;
|
||||
color: #111111;
|
||||
line-height: 1.1;
|
||||
margin-bottom: 24px;
|
||||
max-width: 12em;
|
||||
}
|
||||
|
||||
.hero-title em {
|
||||
font-style: normal;
|
||||
color: #e53935;
|
||||
}
|
||||
|
||||
.hero-sub {
|
||||
font-size: clamp(14px, 1.6vw, 18px);
|
||||
color: #666666;
|
||||
max-width: 38em;
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
|
||||
.btn {
|
||||
display: inline-block;
|
||||
padding: 14px 32px;
|
||||
font-size: 14px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.1em;
|
||||
text-transform: uppercase;
|
||||
text-decoration: none;
|
||||
border: 2px solid #e53935;
|
||||
transition: background 0.2s, color 0.2s;
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
background: #e53935;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.btn-primary:hover {
|
||||
background: #c62828;
|
||||
border-color: #c62828;
|
||||
}
|
||||
|
||||
.btn-outline {
|
||||
background: transparent;
|
||||
color: #e53935;
|
||||
margin-left: 12px;
|
||||
}
|
||||
|
||||
.btn-outline:hover {
|
||||
background: #e53935;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
/* ─── SECTION COMMON ──────────────────────────────────── */
|
||||
section {
|
||||
padding: clamp(56px, 8vw, 96px) clamp(24px, 8vw, 96px);
|
||||
}
|
||||
|
||||
.section-label {
|
||||
font-size: 11px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.25em;
|
||||
text-transform: uppercase;
|
||||
color: #e53935;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.section-title {
|
||||
font-size: clamp(24px, 3.5vw, 40px);
|
||||
font-weight: 800;
|
||||
letter-spacing: -0.01em;
|
||||
color: #111111;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.section-lead {
|
||||
font-size: clamp(14px, 1.5vw, 17px);
|
||||
color: #666666;
|
||||
max-width: 42em;
|
||||
margin-bottom: 48px;
|
||||
}
|
||||
|
||||
/* ─── FEATURES ────────────────────────────────────────── */
|
||||
#features {
|
||||
background: #ffffff;
|
||||
}
|
||||
|
||||
.features-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
|
||||
gap: 2px;
|
||||
background: #eeeeee;
|
||||
border: 2px solid #eeeeee;
|
||||
}
|
||||
|
||||
.feature-card {
|
||||
background: #ffffff;
|
||||
padding: clamp(24px, 3vw, 40px);
|
||||
}
|
||||
|
||||
.feature-num {
|
||||
font-size: 11px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.15em;
|
||||
color: #e53935;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.feature-title {
|
||||
font-size: clamp(16px, 1.8vw, 20px);
|
||||
font-weight: 800;
|
||||
color: #111111;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.feature-desc {
|
||||
font-size: clamp(13px, 1.3vw, 15px);
|
||||
color: #666666;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
/* ─── WORKS ───────────────────────────────────────────── */
|
||||
#works {
|
||||
background: #f7f7f7;
|
||||
}
|
||||
|
||||
.works-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
||||
gap: 24px;
|
||||
}
|
||||
|
||||
.work-card {
|
||||
background: #ffffff;
|
||||
border: 1px solid #eeeeee;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.work-thumb {
|
||||
width: 100%;
|
||||
aspect-ratio: 16/9;
|
||||
background: #eeeeee;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: clamp(32px, 4vw, 48px);
|
||||
font-weight: 900;
|
||||
letter-spacing: -0.02em;
|
||||
color: #cccccc;
|
||||
}
|
||||
|
||||
.work-thumb.red { background: #fde8e8; color: #e53935; }
|
||||
.work-thumb.dark { background: #222222; color: #444444; }
|
||||
.work-thumb.gray { background: #e8e8e8; color: #bbbbbb; }
|
||||
|
||||
.work-body {
|
||||
padding: 20px 24px;
|
||||
}
|
||||
|
||||
.work-tag {
|
||||
font-size: 11px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.15em;
|
||||
text-transform: uppercase;
|
||||
color: #e53935;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
.work-title {
|
||||
font-size: clamp(15px, 1.6vw, 18px);
|
||||
font-weight: 700;
|
||||
color: #111111;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
.work-desc {
|
||||
font-size: 13px;
|
||||
color: #777777;
|
||||
}
|
||||
|
||||
/* ─── ABOUT ───────────────────────────────────────────── */
|
||||
#about {
|
||||
background: #111111;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
#about .section-title {
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
#about .section-lead {
|
||||
color: #999999;
|
||||
}
|
||||
|
||||
#about .section-label {
|
||||
color: #e53935;
|
||||
}
|
||||
|
||||
.about-layout {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: clamp(32px, 6vw, 80px);
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.about-layout { grid-template-columns: 1fr; }
|
||||
}
|
||||
|
||||
.about-stats {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 2px;
|
||||
background: #2a2a2a;
|
||||
border: 2px solid #2a2a2a;
|
||||
}
|
||||
|
||||
.stat-box {
|
||||
background: #1a1a1a;
|
||||
padding: 28px 24px;
|
||||
}
|
||||
|
||||
.stat-num {
|
||||
font-size: clamp(28px, 4vw, 44px);
|
||||
font-weight: 800;
|
||||
color: #e53935;
|
||||
letter-spacing: -0.02em;
|
||||
line-height: 1;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
.stat-label {
|
||||
font-size: 12px;
|
||||
color: #666666;
|
||||
letter-spacing: 0.1em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.about-text p {
|
||||
font-size: clamp(14px, 1.5vw, 16px);
|
||||
color: #aaaaaa;
|
||||
line-height: 1.8;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
/* ─── CONTACT ─────────────────────────────────────────── */
|
||||
#contact {
|
||||
background: #ffffff;
|
||||
}
|
||||
|
||||
.contact-layout {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: clamp(32px, 6vw, 80px);
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.contact-layout { grid-template-columns: 1fr; }
|
||||
}
|
||||
|
||||
.form-group {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
label {
|
||||
display: block;
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.1em;
|
||||
text-transform: uppercase;
|
||||
color: #555555;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
input, textarea, select {
|
||||
width: 100%;
|
||||
padding: 12px 16px;
|
||||
border: 1px solid #dddddd;
|
||||
border-radius: 0;
|
||||
font-size: 14px;
|
||||
font-family: inherit;
|
||||
color: #333333;
|
||||
background: #ffffff;
|
||||
outline: none;
|
||||
transition: border-color 0.2s;
|
||||
}
|
||||
|
||||
input:focus, textarea:focus, select:focus {
|
||||
border-color: #e53935;
|
||||
}
|
||||
|
||||
textarea {
|
||||
min-height: 120px;
|
||||
resize: vertical;
|
||||
}
|
||||
|
||||
.contact-info {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 32px;
|
||||
}
|
||||
|
||||
.contact-item-label {
|
||||
font-size: 11px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.2em;
|
||||
text-transform: uppercase;
|
||||
color: #e53935;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
.contact-item-value {
|
||||
font-size: clamp(14px, 1.5vw, 16px);
|
||||
color: #333333;
|
||||
}
|
||||
|
||||
.contact-item-sub {
|
||||
font-size: 13px;
|
||||
color: #888888;
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
/* ─── PROCESS ────────────────────────────────────────── */
|
||||
#process {
|
||||
background: #f7f7f7;
|
||||
}
|
||||
|
||||
.process-steps {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
||||
gap: 0;
|
||||
counter-reset: step;
|
||||
}
|
||||
|
||||
.process-step {
|
||||
padding: clamp(28px, 3vw, 44px) clamp(20px, 2.5vw, 36px);
|
||||
border-right: 1px solid #e0e0e0;
|
||||
border-bottom: 1px solid #e0e0e0;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.process-step:last-child {
|
||||
border-right: none;
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.process-step { border-right: none; }
|
||||
}
|
||||
|
||||
.step-num {
|
||||
font-size: clamp(40px, 6vw, 64px);
|
||||
font-weight: 900;
|
||||
color: #eeeeee;
|
||||
line-height: 1;
|
||||
margin-bottom: 12px;
|
||||
letter-spacing: -0.03em;
|
||||
}
|
||||
|
||||
.step-title {
|
||||
font-size: clamp(15px, 1.6vw, 18px);
|
||||
font-weight: 800;
|
||||
color: #111111;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.step-desc {
|
||||
font-size: clamp(13px, 1.2vw, 14px);
|
||||
color: #777777;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
/* ─── NEWS ────────────────────────────────────────────── */
|
||||
#news {
|
||||
background: #ffffff;
|
||||
}
|
||||
|
||||
.news-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
||||
gap: 24px;
|
||||
}
|
||||
|
||||
.news-card {
|
||||
border-top: 2px solid #eeeeee;
|
||||
padding-top: 20px;
|
||||
}
|
||||
|
||||
.news-card:first-child {
|
||||
border-top-color: #e53935;
|
||||
}
|
||||
|
||||
.news-date {
|
||||
font-size: 11px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.15em;
|
||||
color: #aaaaaa;
|
||||
margin-bottom: 8px;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.news-title {
|
||||
font-size: clamp(15px, 1.6vw, 18px);
|
||||
font-weight: 700;
|
||||
color: #111111;
|
||||
margin-bottom: 8px;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.news-excerpt {
|
||||
font-size: 13px;
|
||||
color: #777777;
|
||||
line-height: 1.7;
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
|
||||
.news-link {
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.1em;
|
||||
text-transform: uppercase;
|
||||
color: #e53935;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.news-link:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
/* ─── FOOTER ──────────────────────────────────────────── */
|
||||
footer {
|
||||
background: #111111;
|
||||
padding: 32px clamp(24px, 8vw, 96px);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
flex-wrap: wrap;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.footer-nav {
|
||||
display: flex;
|
||||
gap: clamp(16px, 3vw, 32px);
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.footer-nav a {
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
color: #555555;
|
||||
text-decoration: none;
|
||||
transition: color 0.2s;
|
||||
}
|
||||
|
||||
.footer-nav a:hover {
|
||||
color: #e53935;
|
||||
}
|
||||
|
||||
.footer-logo {
|
||||
font-size: 16px;
|
||||
font-weight: 800;
|
||||
letter-spacing: 0.12em;
|
||||
color: #e53935;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.footer-copy {
|
||||
font-size: 12px;
|
||||
color: #555555;
|
||||
letter-spacing: 0.05em;
|
||||
}
|
||||
</style>
|
||||
<meta name="theme-color" content="#e53935">
|
||||
<meta name="description" content="Studio Sample — 東京設計與前端工作室。品牌識別、網頁設計開發、印刷編輯,無框架、無廢話的高品質作品。">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:locale" content="zh_TW">
|
||||
<meta property="og:site_name" content="Studio Sample">
|
||||
<meta property="og:title" content="Studio Sample — Design & Front-End Studio">
|
||||
<meta property="og:description" content="東京設計與前端工作室。品牌識別、網頁設計開發、印刷編輯。無框架、無廢話。">
|
||||
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'><rect width='64' height='64' rx='8' fill='%23e53935'/><text x='32' y='45' font-family='Arial,sans-serif' font-size='42' font-weight='bold' fill='white' text-anchor='middle'>S</text></svg>">
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<title>Studio Sample — Design & Front-End Studio</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<!-- ─── NAV ─────────────────────────────────────────────── -->
|
||||
<nav>
|
||||
<a class="nav-logo" href="#hero">Studio Sample</a>
|
||||
<input type="checkbox" id="nav-toggle" class="nav-toggle">
|
||||
<label class="nav-burger" for="nav-toggle" aria-label="開啟選單">☰</label>
|
||||
<ul class="nav-links">
|
||||
<li><a href="services.html">Services</a></li>
|
||||
<li><a href="works.html">Works</a></li>
|
||||
@@ -595,12 +32,12 @@
|
||||
|
||||
<!-- ─── HERO ──────────────────────────────────────────────── -->
|
||||
<section id="hero">
|
||||
<div class="hero-bg-text">SAMPLE</div>
|
||||
<div class="hero-bg-text" aria-hidden="true">SAMPLE</div>
|
||||
<p class="hero-eyebrow">Welcome to Studio Sample</p>
|
||||
<h1 class="hero-title">Make it<br><em>simple.</em><br>Make it real.</h1>
|
||||
<p class="hero-sub">
|
||||
這是一個通用的靜態網站範例。乾淨的版面、流體排版、無框架依賴。<br>
|
||||
A clean static site template. No frameworks. Just HTML & CSS.
|
||||
A clean static site template. No frameworks. Just HTML & CSS.
|
||||
</p>
|
||||
<div>
|
||||
<a class="btn btn-primary" href="#works">View Works</a>
|
||||
@@ -774,13 +211,13 @@
|
||||
<p class="news-date">2026 — Feb</p>
|
||||
<h3 class="news-title">為什麼我們不用任何前端框架</h3>
|
||||
<p class="news-excerpt">框架解決了很多問題,但也帶來同樣多的問題。這篇文章說明我們如何在沒有框架的情況下交付高品質作品。</p>
|
||||
<a class="news-link" href="#">Read More →</a>
|
||||
<a class="news-link" href="timeline.html">Read More →</a>
|
||||
</div>
|
||||
<div class="news-card">
|
||||
<p class="news-date">2025 — Dec</p>
|
||||
<h3 class="news-title">2025 回顧:48 個專案,3 個人</h3>
|
||||
<p class="news-excerpt">這一年我們做了哪些事?學到了什麼?又有什麼想在 2026 年做得更好?年度總結在此。</p>
|
||||
<a class="news-link" href="#">Read More →</a>
|
||||
<a class="news-link" href="timeline.html">Read More →</a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@@ -847,7 +284,7 @@
|
||||
<ul class="footer-nav">
|
||||
<li><a href="services.html">Services</a></li>
|
||||
<li><a href="works.html">Works</a></li>
|
||||
<li><a href="#about">About</a></li>
|
||||
<li><a href="timeline.html">Timeline</a></li>
|
||||
<li><a href="#contact">Contact</a></li>
|
||||
</ul>
|
||||
<div class="footer-copy">© 2026 Studio Sample. All rights reserved.</div>
|
||||
|
||||
@@ -3,422 +3,24 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="theme-color" content="#e53935">
|
||||
<meta name="description" content="Studio Sample 服務與報價 — 品牌識別、網頁設計開發、印刷編輯三大核心服務,附 Starter / Studio / Full Brand 三級報價與常見問題。">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:locale" content="zh_TW">
|
||||
<meta property="og:site_name" content="Studio Sample">
|
||||
<meta property="og:title" content="Services — Studio Sample">
|
||||
<meta property="og:description" content="品牌識別、網頁設計開發、印刷編輯。三種核心服務,透明報價,不留黑盒子。">
|
||||
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'><rect width='64' height='64' rx='8' fill='%23e53935'/><text x='32' y='45' font-family='Arial,sans-serif' font-size='42' font-weight='bold' fill='white' text-anchor='middle'>S</text></svg>">
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<title>Services — Studio Sample</title>
|
||||
<style>
|
||||
* { box-sizing: border-box; margin: 0; padding: 0; }
|
||||
|
||||
html { scroll-behavior: smooth; }
|
||||
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
|
||||
"Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP",
|
||||
"Noto Sans TC", system-ui, sans-serif;
|
||||
background-color: #ffffff;
|
||||
color: #333333;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
/* ─── NAV ─────────────────────────────────────────────── */
|
||||
nav {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 100;
|
||||
background: #ffffff;
|
||||
border-bottom: 1px solid #eeeeee;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 0 clamp(16px, 5vw, 64px);
|
||||
height: 56px;
|
||||
}
|
||||
|
||||
.nav-logo {
|
||||
font-size: 18px;
|
||||
font-weight: 800;
|
||||
letter-spacing: 0.12em;
|
||||
color: #e53935;
|
||||
text-transform: uppercase;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.nav-links {
|
||||
display: flex;
|
||||
gap: clamp(16px, 3vw, 40px);
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.nav-links a {
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
color: #555555;
|
||||
text-decoration: none;
|
||||
transition: color 0.2s;
|
||||
}
|
||||
|
||||
.nav-links a:hover,
|
||||
.nav-links a.active { color: #e53935; }
|
||||
|
||||
/* ─── PAGE HEADER ─────────────────────────────────────── */
|
||||
.page-header {
|
||||
padding: clamp(48px, 7vw, 88px) clamp(24px, 8vw, 96px) clamp(32px, 4vw, 48px);
|
||||
background: #f7f7f7;
|
||||
border-bottom: 1px solid #eeeeee;
|
||||
}
|
||||
|
||||
.page-header-eyebrow {
|
||||
font-size: 11px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.25em;
|
||||
text-transform: uppercase;
|
||||
color: #e53935;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.page-header-title {
|
||||
font-size: clamp(32px, 5vw, 64px);
|
||||
font-weight: 800;
|
||||
letter-spacing: -0.02em;
|
||||
color: #111111;
|
||||
line-height: 1.1;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.page-header-lead {
|
||||
font-size: clamp(14px, 1.5vw, 17px);
|
||||
color: #666666;
|
||||
max-width: 38em;
|
||||
}
|
||||
|
||||
/* ─── SECTION COMMON ──────────────────────────────────── */
|
||||
section {
|
||||
padding: clamp(56px, 8vw, 96px) clamp(24px, 8vw, 96px);
|
||||
}
|
||||
|
||||
.section-label {
|
||||
font-size: 11px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.25em;
|
||||
text-transform: uppercase;
|
||||
color: #e53935;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.section-title {
|
||||
font-size: clamp(24px, 3.5vw, 40px);
|
||||
font-weight: 800;
|
||||
letter-spacing: -0.01em;
|
||||
color: #111111;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.section-lead {
|
||||
font-size: clamp(14px, 1.5vw, 17px);
|
||||
color: #666666;
|
||||
max-width: 42em;
|
||||
margin-bottom: 48px;
|
||||
}
|
||||
|
||||
/* ─── SERVICE BLOCKS ──────────────────────────────────── */
|
||||
#services { background: #ffffff; }
|
||||
|
||||
.service-block {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 2fr;
|
||||
gap: clamp(32px, 6vw, 80px);
|
||||
padding: clamp(32px, 4vw, 56px) 0;
|
||||
border-top: 1px solid #eeeeee;
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.service-block:first-of-type {
|
||||
border-top: 2px solid #e53935;
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.service-block { grid-template-columns: 1fr; }
|
||||
}
|
||||
|
||||
.service-index {
|
||||
font-size: 11px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.2em;
|
||||
color: #e53935;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.service-name {
|
||||
font-size: clamp(22px, 2.8vw, 32px);
|
||||
font-weight: 800;
|
||||
color: #111111;
|
||||
letter-spacing: -0.01em;
|
||||
margin: 12px 0 0;
|
||||
}
|
||||
|
||||
.service-detail h4 {
|
||||
font-size: clamp(14px, 1.4vw, 16px);
|
||||
font-weight: 700;
|
||||
color: #111111;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.service-detail p {
|
||||
font-size: clamp(13px, 1.3vw, 15px);
|
||||
color: #666666;
|
||||
line-height: 1.8;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.deliverables {
|
||||
list-style: none;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 6px;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.deliverables li {
|
||||
font-size: 13px;
|
||||
color: #444444;
|
||||
padding-left: 20px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.deliverables li::before {
|
||||
content: "—";
|
||||
position: absolute;
|
||||
left: 0;
|
||||
color: #e53935;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.service-note {
|
||||
font-size: 12px;
|
||||
color: #aaaaaa;
|
||||
border-left: 2px solid #eeeeee;
|
||||
padding-left: 12px;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
/* ─── PRICING ─────────────────────────────────────────── */
|
||||
#pricing { background: #f7f7f7; }
|
||||
|
||||
.pricing-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
|
||||
gap: 2px;
|
||||
background: #e0e0e0;
|
||||
border: 2px solid #e0e0e0;
|
||||
}
|
||||
|
||||
.pricing-card {
|
||||
background: #ffffff;
|
||||
padding: clamp(28px, 3.5vw, 44px) clamp(24px, 2.5vw, 36px);
|
||||
}
|
||||
|
||||
.pricing-card.highlighted {
|
||||
background: #111111;
|
||||
}
|
||||
|
||||
.pricing-tier {
|
||||
font-size: 11px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.2em;
|
||||
text-transform: uppercase;
|
||||
color: #e53935;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.pricing-price {
|
||||
font-size: clamp(28px, 3.5vw, 40px);
|
||||
font-weight: 900;
|
||||
color: #111111;
|
||||
letter-spacing: -0.02em;
|
||||
line-height: 1;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.pricing-card.highlighted .pricing-price {
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.pricing-unit {
|
||||
font-size: 13px;
|
||||
color: #aaaaaa;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.pricing-desc {
|
||||
font-size: clamp(13px, 1.3vw, 14px);
|
||||
color: #666666;
|
||||
line-height: 1.7;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.pricing-card.highlighted .pricing-desc {
|
||||
color: #999999;
|
||||
}
|
||||
|
||||
.pricing-features {
|
||||
list-style: none;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.pricing-features li {
|
||||
font-size: 13px;
|
||||
color: #444444;
|
||||
padding-left: 20px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.pricing-card.highlighted .pricing-features li {
|
||||
color: #aaaaaa;
|
||||
}
|
||||
|
||||
.pricing-features li::before {
|
||||
content: "✓";
|
||||
position: absolute;
|
||||
left: 0;
|
||||
color: #e53935;
|
||||
font-weight: 700;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
/* ─── FAQ ─────────────────────────────────────────────── */
|
||||
#faq { background: #ffffff; }
|
||||
|
||||
.faq-list {
|
||||
max-width: 720px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0;
|
||||
}
|
||||
|
||||
.faq-item {
|
||||
border-top: 1px solid #eeeeee;
|
||||
padding: 20px 0;
|
||||
}
|
||||
|
||||
.faq-item:last-child {
|
||||
border-bottom: 1px solid #eeeeee;
|
||||
}
|
||||
|
||||
.faq-q {
|
||||
font-size: clamp(15px, 1.5vw, 17px);
|
||||
font-weight: 700;
|
||||
color: #111111;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.faq-a {
|
||||
font-size: clamp(13px, 1.3vw, 15px);
|
||||
color: #666666;
|
||||
line-height: 1.8;
|
||||
}
|
||||
|
||||
/* ─── BTN ─────────────────────────────────────────────── */
|
||||
.btn {
|
||||
display: inline-block;
|
||||
padding: 14px 32px;
|
||||
font-size: 14px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.1em;
|
||||
text-transform: uppercase;
|
||||
text-decoration: none;
|
||||
border: 2px solid #e53935;
|
||||
transition: background 0.2s, color 0.2s;
|
||||
}
|
||||
|
||||
.btn-primary { background: #e53935; color: #ffffff; }
|
||||
.btn-primary:hover { background: #c62828; border-color: #c62828; }
|
||||
|
||||
/* ─── CTA STRIP ───────────────────────────────────────── */
|
||||
.cta-strip {
|
||||
background: #e53935;
|
||||
padding: clamp(40px, 6vw, 72px) clamp(24px, 8vw, 96px);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 24px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.cta-strip-text h2 {
|
||||
font-size: clamp(22px, 3vw, 36px);
|
||||
font-weight: 800;
|
||||
color: #ffffff;
|
||||
letter-spacing: -0.01em;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
.cta-strip-text p {
|
||||
font-size: clamp(13px, 1.3vw, 15px);
|
||||
color: rgba(255,255,255,0.7);
|
||||
}
|
||||
|
||||
.btn-white {
|
||||
background: #ffffff;
|
||||
color: #e53935;
|
||||
border-color: #ffffff;
|
||||
}
|
||||
|
||||
.btn-white:hover {
|
||||
background: #f5f5f5;
|
||||
border-color: #f5f5f5;
|
||||
}
|
||||
|
||||
/* ─── FOOTER ──────────────────────────────────────────── */
|
||||
footer {
|
||||
background: #111111;
|
||||
padding: 32px clamp(24px, 8vw, 96px);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
flex-wrap: wrap;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.footer-logo {
|
||||
font-size: 16px;
|
||||
font-weight: 800;
|
||||
letter-spacing: 0.12em;
|
||||
color: #e53935;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.footer-nav {
|
||||
display: flex;
|
||||
gap: clamp(16px, 3vw, 32px);
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.footer-nav a {
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
color: #555555;
|
||||
text-decoration: none;
|
||||
transition: color 0.2s;
|
||||
}
|
||||
|
||||
.footer-nav a:hover { color: #e53935; }
|
||||
|
||||
.footer-copy {
|
||||
font-size: 12px;
|
||||
color: #555555;
|
||||
letter-spacing: 0.05em;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<!-- ─── NAV ─────────────────────────────────────────────── -->
|
||||
<nav>
|
||||
<a class="nav-logo" href="index.html">Studio Sample</a>
|
||||
<input type="checkbox" id="nav-toggle" class="nav-toggle">
|
||||
<label class="nav-burger" for="nav-toggle" aria-label="開啟選單">☰</label>
|
||||
<ul class="nav-links">
|
||||
<li><a href="services.html" class="active">Services</a></li>
|
||||
<li><a href="works.html">Works</a></li>
|
||||
@@ -475,7 +77,7 @@
|
||||
<div class="service-block">
|
||||
<div>
|
||||
<p class="service-index">02 / Web</p>
|
||||
<h3 class="service-name">Web Design<br>& Build</h3>
|
||||
<h3 class="service-name">Web Design<br>& Build</h3>
|
||||
</div>
|
||||
<div class="service-detail">
|
||||
<h4>適合對象</h4>
|
||||
@@ -505,7 +107,7 @@
|
||||
<div class="service-block">
|
||||
<div>
|
||||
<p class="service-index">03 / Print</p>
|
||||
<h3 class="service-name">Print &<br>Editorial</h3>
|
||||
<h3 class="service-name">Print &<br>Editorial</h3>
|
||||
</div>
|
||||
<div class="service-detail">
|
||||
<h4>適合對象</h4>
|
||||
@@ -639,7 +241,7 @@
|
||||
</section>
|
||||
|
||||
<!-- ─── CTA STRIP ──────────────────────────────────────────── -->
|
||||
<div class="cta-strip">
|
||||
<div class="cta-strip red">
|
||||
<div class="cta-strip-text">
|
||||
<h2>準備好開始了嗎?</h2>
|
||||
<p>填寫聯絡表單,告訴我們你的專案。通常兩個工作天內回覆。</p>
|
||||
@@ -653,7 +255,7 @@
|
||||
<ul class="footer-nav">
|
||||
<li><a href="services.html">Services</a></li>
|
||||
<li><a href="works.html">Works</a></li>
|
||||
<li><a href="index.html#about">About</a></li>
|
||||
<li><a href="timeline.html">Timeline</a></li>
|
||||
<li><a href="index.html#contact">Contact</a></li>
|
||||
</ul>
|
||||
<div class="footer-copy">© 2026 Studio Sample. All rights reserved.</div>
|
||||
|
||||
969
caddy/www/studio-sample/style.css
Normal file
969
caddy/www/studio-sample/style.css
Normal file
@@ -0,0 +1,969 @@
|
||||
/* ───────────────────────────────────────────────────────────────
|
||||
Studio Sample — 共用樣式表
|
||||
四個頁面共用同一份,改一次全站生效。
|
||||
衝突處用父層 scope(#works / .works-section)或 modifier 區分。
|
||||
─────────────────────────────────────────────────────────────── */
|
||||
|
||||
* { box-sizing: border-box; margin: 0; padding: 0; }
|
||||
|
||||
html { scroll-behavior: smooth; }
|
||||
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
|
||||
"Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP",
|
||||
"Noto Sans TC", system-ui, sans-serif;
|
||||
background-color: #ffffff;
|
||||
color: #333333;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
/* ─── NAV ─────────────────────────────────────────────── */
|
||||
nav {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 100;
|
||||
background: #ffffff;
|
||||
border-bottom: 1px solid #eeeeee;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 0 clamp(16px, 5vw, 64px);
|
||||
height: 56px;
|
||||
}
|
||||
|
||||
.nav-logo {
|
||||
font-size: 18px;
|
||||
font-weight: 800;
|
||||
letter-spacing: 0.12em;
|
||||
color: #e53935;
|
||||
text-transform: uppercase;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.nav-links {
|
||||
display: flex;
|
||||
gap: clamp(16px, 3vw, 40px);
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.nav-links a {
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
color: #555555;
|
||||
text-decoration: none;
|
||||
transition: color 0.2s;
|
||||
}
|
||||
|
||||
.nav-links a:hover,
|
||||
.nav-links a.active { color: #e53935; }
|
||||
|
||||
/* 手機版漢堡選單 — ponytail: 純 CSS checkbox hack,免 JS。
|
||||
要 aria-expanded 等完整無障礙再換成 JS 版本。 */
|
||||
.nav-toggle { display: none; }
|
||||
|
||||
.nav-burger {
|
||||
display: none;
|
||||
font-size: 22px;
|
||||
line-height: 1;
|
||||
color: #111111;
|
||||
background: none;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
padding: 4px 8px;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
@media (max-width: 720px) {
|
||||
.nav-burger { display: block; }
|
||||
|
||||
.nav-links {
|
||||
position: absolute;
|
||||
top: 56px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
flex-direction: column;
|
||||
gap: 0;
|
||||
background: #ffffff;
|
||||
border-bottom: 1px solid #eeeeee;
|
||||
max-height: 0;
|
||||
overflow: hidden;
|
||||
transition: max-height 0.25s ease;
|
||||
}
|
||||
|
||||
.nav-toggle:checked ~ .nav-links { max-height: 70vh; }
|
||||
|
||||
.nav-links li { width: 100%; }
|
||||
|
||||
.nav-links a {
|
||||
display: block;
|
||||
padding: 14px clamp(16px, 5vw, 64px);
|
||||
border-top: 1px solid #f2f2f2;
|
||||
}
|
||||
}
|
||||
|
||||
/* ─── HERO (index) ────────────────────────────────────── */
|
||||
#hero {
|
||||
min-height: calc(100vh - 56px);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: flex-start;
|
||||
padding: clamp(48px, 8vw, 96px) clamp(24px, 8vw, 96px);
|
||||
background: #f7f7f7;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.hero-bg-text {
|
||||
position: absolute;
|
||||
right: -0.05em;
|
||||
bottom: -0.15em;
|
||||
font-size: clamp(120px, 18vw, 280px);
|
||||
font-weight: 900;
|
||||
letter-spacing: -0.02em;
|
||||
color: #eeeeee;
|
||||
user-select: none;
|
||||
line-height: 1;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.hero-eyebrow {
|
||||
font-size: clamp(11px, 1.2vw, 13px);
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.2em;
|
||||
text-transform: uppercase;
|
||||
color: #e53935;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.hero-title {
|
||||
font-size: clamp(36px, 6vw, 80px);
|
||||
font-weight: 800;
|
||||
letter-spacing: -0.02em;
|
||||
color: #111111;
|
||||
line-height: 1.1;
|
||||
margin-bottom: 24px;
|
||||
max-width: 12em;
|
||||
}
|
||||
|
||||
.hero-title em { font-style: normal; color: #e53935; }
|
||||
|
||||
.hero-sub {
|
||||
font-size: clamp(14px, 1.6vw, 18px);
|
||||
color: #666666;
|
||||
max-width: 38em;
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
|
||||
/* ─── BUTTONS ─────────────────────────────────────────── */
|
||||
.btn {
|
||||
display: inline-block;
|
||||
padding: 14px 32px;
|
||||
font-size: 14px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.1em;
|
||||
text-transform: uppercase;
|
||||
text-decoration: none;
|
||||
border: 2px solid #e53935;
|
||||
transition: background 0.2s, color 0.2s;
|
||||
}
|
||||
|
||||
.btn-primary { background: #e53935; color: #ffffff; }
|
||||
.btn-primary:hover { background: #c62828; border-color: #c62828; }
|
||||
|
||||
.btn-outline {
|
||||
background: transparent;
|
||||
color: #e53935;
|
||||
margin-left: 12px;
|
||||
}
|
||||
.btn-outline:hover { background: #e53935; color: #ffffff; }
|
||||
|
||||
.btn-white { background: #ffffff; color: #e53935; border-color: #ffffff; }
|
||||
.btn-white:hover { background: #f5f5f5; border-color: #f5f5f5; }
|
||||
|
||||
/* ─── SECTION COMMON ──────────────────────────────────── */
|
||||
section {
|
||||
padding: clamp(56px, 8vw, 96px) clamp(24px, 8vw, 96px);
|
||||
}
|
||||
|
||||
.section-label {
|
||||
font-size: 11px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.25em;
|
||||
text-transform: uppercase;
|
||||
color: #e53935;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.section-title {
|
||||
font-size: clamp(24px, 3.5vw, 40px);
|
||||
font-weight: 800;
|
||||
letter-spacing: -0.01em;
|
||||
color: #111111;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.section-lead {
|
||||
font-size: clamp(14px, 1.5vw, 17px);
|
||||
color: #666666;
|
||||
max-width: 42em;
|
||||
margin-bottom: 48px;
|
||||
}
|
||||
|
||||
/* ─── PAGE HEADER (services / works / timeline) ───────── */
|
||||
.page-header {
|
||||
padding: clamp(48px, 7vw, 88px) clamp(24px, 8vw, 96px) clamp(32px, 4vw, 48px);
|
||||
background: #f7f7f7;
|
||||
border-bottom: 1px solid #eeeeee;
|
||||
}
|
||||
|
||||
.page-header-eyebrow,
|
||||
.page-header-label {
|
||||
font-size: 11px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.22em;
|
||||
text-transform: uppercase;
|
||||
color: #e53935;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.page-header-title {
|
||||
font-size: clamp(32px, 5.5vw, 68px);
|
||||
font-weight: 800;
|
||||
letter-spacing: -0.02em;
|
||||
color: #111111;
|
||||
line-height: 1.08;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.page-header-lead,
|
||||
.page-header-sub {
|
||||
font-size: clamp(14px, 1.5vw, 17px);
|
||||
color: #666666;
|
||||
max-width: 38em;
|
||||
}
|
||||
|
||||
/* ─── FEATURES (index) ────────────────────────────────── */
|
||||
#features { background: #ffffff; }
|
||||
|
||||
.features-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
|
||||
gap: 2px;
|
||||
background: #eeeeee;
|
||||
border: 2px solid #eeeeee;
|
||||
}
|
||||
|
||||
.feature-card { background: #ffffff; padding: clamp(24px, 3vw, 40px); }
|
||||
|
||||
.feature-num {
|
||||
font-size: 11px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.15em;
|
||||
color: #e53935;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.feature-title {
|
||||
font-size: clamp(16px, 1.8vw, 20px);
|
||||
font-weight: 800;
|
||||
color: #111111;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.feature-desc {
|
||||
font-size: clamp(13px, 1.3vw, 15px);
|
||||
color: #666666;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
/* ─── WORKS (shared card; grid scoped per page) ───────── */
|
||||
#works { background: #f7f7f7; }
|
||||
|
||||
.works-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
||||
gap: 24px;
|
||||
}
|
||||
|
||||
/* index 首頁的作品預覽 */
|
||||
#works .works-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
|
||||
|
||||
/* works 頁的完整作品牆 */
|
||||
.works-section { padding: clamp(40px, 6vw, 72px) clamp(24px, 8vw, 96px); }
|
||||
.works-section .works-grid { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 32px; }
|
||||
|
||||
.work-card {
|
||||
background: #ffffff;
|
||||
border: 1px solid #eeeeee;
|
||||
overflow: hidden;
|
||||
transition: box-shadow 0.2s;
|
||||
}
|
||||
.work-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.08); }
|
||||
|
||||
.work-thumb {
|
||||
width: 100%;
|
||||
aspect-ratio: 16/9;
|
||||
background: #eeeeee;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: clamp(28px, 3.6vw, 46px);
|
||||
font-weight: 900;
|
||||
letter-spacing: -0.02em;
|
||||
color: #cccccc;
|
||||
}
|
||||
|
||||
.work-thumb.red { background: #fde8e8; color: #e53935; }
|
||||
.work-thumb.dark { background: #222222; color: #444444; }
|
||||
.work-thumb.gray { background: #e8e8e8; color: #bbbbbb; }
|
||||
.work-thumb.cream { background: #f5f0e8; color: #c8b89a; }
|
||||
.work-thumb.navy { background: #1a2640; color: #2e4070; }
|
||||
.work-thumb.sage { background: #e4ece4; color: #8aaa8a; }
|
||||
.work-thumb.black { background: #111111; color: #333333; }
|
||||
.work-thumb.blush { background: #fde8f0; color: #e07898; }
|
||||
|
||||
.work-body { padding: 22px 26px; }
|
||||
|
||||
.work-meta {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.work-tag {
|
||||
font-size: 11px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.15em;
|
||||
text-transform: uppercase;
|
||||
color: #e53935;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
.work-year { font-size: 11px; color: #999999; letter-spacing: 0.05em; }
|
||||
|
||||
.work-title {
|
||||
font-size: clamp(15px, 1.7vw, 20px);
|
||||
font-weight: 800;
|
||||
color: #111111;
|
||||
margin-bottom: 8px;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
.work-desc {
|
||||
font-size: 13px;
|
||||
color: #777777;
|
||||
line-height: 1.7;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.work-scope { display: flex; flex-wrap: wrap; gap: 6px; }
|
||||
|
||||
.scope-tag {
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.06em;
|
||||
padding: 3px 10px;
|
||||
border: 1px solid #eeeeee;
|
||||
color: #6a6a6a;
|
||||
}
|
||||
|
||||
/* 作品篩選列 (works) */
|
||||
.filter-bar {
|
||||
padding: 20px clamp(24px, 8vw, 96px);
|
||||
border-bottom: 1px solid #eeeeee;
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.filter-btn {
|
||||
padding: 6px 16px;
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
border: 1px solid #dddddd;
|
||||
background: transparent;
|
||||
color: #666666;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
.filter-btn:hover,
|
||||
.filter-btn.active { border-color: #e53935; color: #e53935; }
|
||||
|
||||
/* featured 寬卡 */
|
||||
.work-card.featured { grid-column: span 2; }
|
||||
.work-card.featured .work-thumb { aspect-ratio: 21/9; }
|
||||
|
||||
@media (max-width: 720px) {
|
||||
.work-card.featured { grid-column: span 1; }
|
||||
.work-card.featured .work-thumb { aspect-ratio: 16/9; }
|
||||
}
|
||||
|
||||
/* ─── PROCESS (index) ─────────────────────────────────── */
|
||||
#process { background: #f7f7f7; }
|
||||
|
||||
.process-steps {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
||||
gap: 0;
|
||||
counter-reset: step;
|
||||
}
|
||||
|
||||
.process-step {
|
||||
padding: clamp(28px, 3vw, 44px) clamp(20px, 2.5vw, 36px);
|
||||
border-right: 1px solid #e0e0e0;
|
||||
border-bottom: 1px solid #e0e0e0;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.process-step:last-child { border-right: none; }
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.process-step { border-right: none; }
|
||||
}
|
||||
|
||||
.step-num {
|
||||
font-size: clamp(40px, 6vw, 64px);
|
||||
font-weight: 900;
|
||||
color: #eeeeee;
|
||||
line-height: 1;
|
||||
margin-bottom: 12px;
|
||||
letter-spacing: -0.03em;
|
||||
}
|
||||
|
||||
.step-title {
|
||||
font-size: clamp(15px, 1.6vw, 18px);
|
||||
font-weight: 800;
|
||||
color: #111111;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.step-desc {
|
||||
font-size: clamp(13px, 1.2vw, 14px);
|
||||
color: #777777;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
/* ─── ABOUT (index, dark) ─────────────────────────────── */
|
||||
#about { background: #111111; color: #ffffff; }
|
||||
#about .section-title { color: #ffffff; }
|
||||
#about .section-lead { color: #999999; }
|
||||
#about .section-label { color: #e53935; }
|
||||
|
||||
.about-layout {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: clamp(32px, 6vw, 80px);
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.about-layout { grid-template-columns: 1fr; }
|
||||
}
|
||||
|
||||
.about-stats {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 2px;
|
||||
background: #2a2a2a;
|
||||
border: 2px solid #2a2a2a;
|
||||
}
|
||||
|
||||
.stat-box { background: #1a1a1a; padding: 28px 24px; }
|
||||
|
||||
.stat-num {
|
||||
font-size: clamp(28px, 4vw, 44px);
|
||||
font-weight: 800;
|
||||
color: #e53935;
|
||||
letter-spacing: -0.02em;
|
||||
line-height: 1;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
.stat-label {
|
||||
font-size: 12px;
|
||||
color: #888888;
|
||||
letter-spacing: 0.1em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.about-text p {
|
||||
font-size: clamp(14px, 1.5vw, 16px);
|
||||
color: #aaaaaa;
|
||||
line-height: 1.8;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
/* ─── NEWS (index) ────────────────────────────────────── */
|
||||
#news { background: #ffffff; }
|
||||
|
||||
.news-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
||||
gap: 24px;
|
||||
}
|
||||
|
||||
.news-card { border-top: 2px solid #eeeeee; padding-top: 20px; }
|
||||
.news-card:first-child { border-top-color: #e53935; }
|
||||
|
||||
.news-date {
|
||||
font-size: 11px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.15em;
|
||||
color: #999999;
|
||||
margin-bottom: 8px;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.news-title {
|
||||
font-size: clamp(15px, 1.6vw, 18px);
|
||||
font-weight: 700;
|
||||
color: #111111;
|
||||
margin-bottom: 8px;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.news-excerpt {
|
||||
font-size: 13px;
|
||||
color: #777777;
|
||||
line-height: 1.7;
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
|
||||
.news-link {
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.1em;
|
||||
text-transform: uppercase;
|
||||
color: #e53935;
|
||||
text-decoration: none;
|
||||
}
|
||||
.news-link:hover { text-decoration: underline; }
|
||||
|
||||
/* ─── CONTACT (index) ─────────────────────────────────── */
|
||||
#contact { background: #ffffff; }
|
||||
|
||||
.contact-layout {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: clamp(32px, 6vw, 80px);
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.contact-layout { grid-template-columns: 1fr; }
|
||||
}
|
||||
|
||||
.form-group { margin-bottom: 20px; }
|
||||
|
||||
label {
|
||||
display: block;
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.1em;
|
||||
text-transform: uppercase;
|
||||
color: #555555;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
input, textarea, select {
|
||||
width: 100%;
|
||||
padding: 12px 16px;
|
||||
border: 1px solid #dddddd;
|
||||
border-radius: 0;
|
||||
font-size: 14px;
|
||||
font-family: inherit;
|
||||
color: #333333;
|
||||
background: #ffffff;
|
||||
outline: none;
|
||||
transition: border-color 0.2s;
|
||||
}
|
||||
|
||||
input:focus, textarea:focus, select:focus { border-color: #e53935; }
|
||||
|
||||
textarea { min-height: 120px; resize: vertical; }
|
||||
|
||||
.contact-info { display: flex; flex-direction: column; gap: 32px; }
|
||||
|
||||
.contact-item-label {
|
||||
font-size: 11px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.2em;
|
||||
text-transform: uppercase;
|
||||
color: #e53935;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
.contact-item-value { font-size: clamp(14px, 1.5vw, 16px); color: #333333; }
|
||||
|
||||
.contact-item-sub { font-size: 13px; color: #6a6a6a; margin-top: 2px; }
|
||||
|
||||
/* ─── SERVICE BLOCKS (services) ───────────────────────── */
|
||||
#services { background: #ffffff; }
|
||||
|
||||
.service-block {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 2fr;
|
||||
gap: clamp(32px, 6vw, 80px);
|
||||
padding: clamp(32px, 4vw, 56px) 0;
|
||||
border-top: 1px solid #eeeeee;
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.service-block:first-of-type { border-top: 2px solid #e53935; }
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.service-block { grid-template-columns: 1fr; }
|
||||
}
|
||||
|
||||
.service-index {
|
||||
font-size: 11px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.2em;
|
||||
color: #e53935;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.service-name {
|
||||
font-size: clamp(22px, 2.8vw, 32px);
|
||||
font-weight: 800;
|
||||
color: #111111;
|
||||
letter-spacing: -0.01em;
|
||||
margin: 12px 0 0;
|
||||
}
|
||||
|
||||
.service-detail h4 {
|
||||
font-size: clamp(14px, 1.4vw, 16px);
|
||||
font-weight: 700;
|
||||
color: #111111;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.service-detail p {
|
||||
font-size: clamp(13px, 1.3vw, 15px);
|
||||
color: #666666;
|
||||
line-height: 1.8;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.deliverables {
|
||||
list-style: none;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 6px;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.deliverables li {
|
||||
font-size: 13px;
|
||||
color: #444444;
|
||||
padding-left: 20px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.deliverables li::before {
|
||||
content: "—";
|
||||
position: absolute;
|
||||
left: 0;
|
||||
color: #e53935;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.service-note {
|
||||
font-size: 12px;
|
||||
color: #888888;
|
||||
border-left: 2px solid #eeeeee;
|
||||
padding-left: 12px;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
/* ─── PRICING (services) ──────────────────────────────── */
|
||||
#pricing { background: #f7f7f7; }
|
||||
|
||||
.pricing-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
|
||||
gap: 2px;
|
||||
background: #e0e0e0;
|
||||
border: 2px solid #e0e0e0;
|
||||
}
|
||||
|
||||
.pricing-card { background: #ffffff; padding: clamp(28px, 3.5vw, 44px) clamp(24px, 2.5vw, 36px); }
|
||||
.pricing-card.highlighted { background: #111111; }
|
||||
|
||||
.pricing-tier {
|
||||
font-size: 11px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.2em;
|
||||
text-transform: uppercase;
|
||||
color: #e53935;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.pricing-price {
|
||||
font-size: clamp(28px, 3.5vw, 40px);
|
||||
font-weight: 900;
|
||||
color: #111111;
|
||||
letter-spacing: -0.02em;
|
||||
line-height: 1;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
.pricing-card.highlighted .pricing-price { color: #ffffff; }
|
||||
|
||||
.pricing-unit { font-size: 13px; color: #999999; margin-bottom: 20px; }
|
||||
|
||||
.pricing-desc {
|
||||
font-size: clamp(13px, 1.3vw, 14px);
|
||||
color: #666666;
|
||||
line-height: 1.7;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
.pricing-card.highlighted .pricing-desc { color: #999999; }
|
||||
|
||||
.pricing-features {
|
||||
list-style: none;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.pricing-features li {
|
||||
font-size: 13px;
|
||||
color: #444444;
|
||||
padding-left: 20px;
|
||||
position: relative;
|
||||
}
|
||||
.pricing-card.highlighted .pricing-features li { color: #aaaaaa; }
|
||||
|
||||
.pricing-features li::before {
|
||||
content: "✓";
|
||||
position: absolute;
|
||||
left: 0;
|
||||
color: #e53935;
|
||||
font-weight: 700;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
/* ─── FAQ (services) ──────────────────────────────────── */
|
||||
#faq { background: #ffffff; }
|
||||
|
||||
.faq-list { max-width: 720px; display: flex; flex-direction: column; gap: 0; }
|
||||
|
||||
.faq-item { border-top: 1px solid #eeeeee; padding: 20px 0; }
|
||||
.faq-item:last-child { border-bottom: 1px solid #eeeeee; }
|
||||
|
||||
.faq-q {
|
||||
font-size: clamp(15px, 1.5vw, 17px);
|
||||
font-weight: 700;
|
||||
color: #111111;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.faq-a {
|
||||
font-size: clamp(13px, 1.3vw, 15px);
|
||||
color: #666666;
|
||||
line-height: 1.8;
|
||||
}
|
||||
|
||||
/* ─── CTA STRIP (works=dark base / services=red) ──────── */
|
||||
.cta-strip {
|
||||
background: #111111;
|
||||
padding: clamp(40px, 6vw, 72px) clamp(24px, 8vw, 96px);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 24px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.cta-strip.red { background: #e53935; }
|
||||
|
||||
.cta-strip-text h2 {
|
||||
font-size: clamp(22px, 3vw, 36px);
|
||||
font-weight: 800;
|
||||
color: #ffffff;
|
||||
letter-spacing: -0.01em;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
.cta-strip-text p { font-size: clamp(13px, 1.3vw, 15px); color: #999999; }
|
||||
.cta-strip.red .cta-strip-text p { color: rgba(255,255,255,0.8); }
|
||||
|
||||
/* ─── TIMELINE (timeline) ─────────────────────────────── */
|
||||
.timeline-section { padding: clamp(64px, 10vw, 120px) clamp(24px, 8vw, 96px); }
|
||||
|
||||
.timeline { position: relative; max-width: 860px; margin: 0 auto; }
|
||||
|
||||
.timeline::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 140px;
|
||||
top: 8px;
|
||||
bottom: 8px;
|
||||
width: 1px;
|
||||
background: #e0e0e0;
|
||||
}
|
||||
|
||||
.timeline-year { margin-bottom: 56px; }
|
||||
|
||||
.timeline-year-label {
|
||||
font-size: 11px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.2em;
|
||||
text-transform: uppercase;
|
||||
color: #999999;
|
||||
width: 120px;
|
||||
text-align: right;
|
||||
padding-top: 4px;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.timeline-item {
|
||||
display: grid;
|
||||
grid-template-columns: 120px 1fr;
|
||||
gap: 0 40px;
|
||||
position: relative;
|
||||
margin-bottom: 36px;
|
||||
}
|
||||
.timeline-item:last-child { margin-bottom: 0; }
|
||||
|
||||
.timeline-date { text-align: right; padding-top: 2px; }
|
||||
|
||||
.timeline-date-month {
|
||||
font-size: 11px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.12em;
|
||||
text-transform: uppercase;
|
||||
color: #999999;
|
||||
}
|
||||
|
||||
.timeline-date-day {
|
||||
font-size: 22px;
|
||||
font-weight: 800;
|
||||
color: #cfcfcf;
|
||||
line-height: 1;
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
.timeline-item::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 134px;
|
||||
top: 6px;
|
||||
width: 13px;
|
||||
height: 13px;
|
||||
border-radius: 50%;
|
||||
background: #ffffff;
|
||||
border: 2px solid #cccccc;
|
||||
transition: border-color 0.2s, background 0.2s;
|
||||
}
|
||||
.timeline-item.highlight::after { background: #e53935; border-color: #e53935; }
|
||||
|
||||
.timeline-content {
|
||||
padding-left: 20px;
|
||||
padding-bottom: 36px;
|
||||
border-bottom: 1px solid #f2f2f2;
|
||||
}
|
||||
.timeline-item:last-child .timeline-content { border-bottom: none; padding-bottom: 0; }
|
||||
|
||||
.timeline-tag {
|
||||
display: inline-block;
|
||||
font-size: 10px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.15em;
|
||||
text-transform: uppercase;
|
||||
color: #e53935;
|
||||
background: #fdecea;
|
||||
border-radius: 2px;
|
||||
padding: 2px 7px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.timeline-tag.tag-launch { color: #1565c0; background: #e3f2fd; }
|
||||
.timeline-tag.tag-award { color: #2e7d32; background: #e8f5e9; }
|
||||
.timeline-tag.tag-collab { color: #6a1b9a; background: #f3e5f5; }
|
||||
.timeline-tag.tag-studio { color: #e53935; background: #fdecea; }
|
||||
.timeline-tag.tag-article { color: #e65100; background: #fff3e0; }
|
||||
|
||||
.timeline-title {
|
||||
font-size: clamp(15px, 2vw, 17px);
|
||||
font-weight: 700;
|
||||
color: #111111;
|
||||
line-height: 1.35;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
.timeline-desc { font-size: 14px; color: #666666; line-height: 1.7; }
|
||||
|
||||
.timeline-desc span {
|
||||
display: block;
|
||||
color: #888888;
|
||||
margin-top: 2px;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
@media (max-width: 600px) {
|
||||
.timeline::before { left: 0; }
|
||||
.timeline-item { grid-template-columns: 1fr; gap: 4px 0; padding-left: 22px; }
|
||||
.timeline-item::after { left: -6px; top: 4px; }
|
||||
.timeline-date { text-align: left; display: flex; align-items: baseline; gap: 8px; }
|
||||
.timeline-date-day { font-size: 14px; }
|
||||
.timeline-content { padding-left: 0; }
|
||||
.timeline-year-label { width: auto; text-align: left; padding-left: 22px; }
|
||||
}
|
||||
|
||||
/* ─── FOOTER ──────────────────────────────────────────── */
|
||||
footer {
|
||||
background: #111111;
|
||||
padding: 32px clamp(24px, 8vw, 96px);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
flex-wrap: wrap;
|
||||
gap: 16px;
|
||||
border-top: 1px solid #1e1e1e;
|
||||
}
|
||||
|
||||
.footer-logo {
|
||||
font-size: 16px;
|
||||
font-weight: 800;
|
||||
letter-spacing: 0.12em;
|
||||
color: #e53935;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.footer-nav { display: flex; gap: clamp(16px, 3vw, 32px); list-style: none; }
|
||||
|
||||
.footer-nav a {
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
color: #888888;
|
||||
text-decoration: none;
|
||||
transition: color 0.2s;
|
||||
}
|
||||
.footer-nav a:hover { color: #e53935; }
|
||||
|
||||
.footer-copy { font-size: 12px; color: #777777; letter-spacing: 0.05em; }
|
||||
|
||||
/* ─── 鍵盤焦點 (a11y) ─────────────────────────────────── */
|
||||
.nav-links a:focus-visible,
|
||||
.footer-nav a:focus-visible,
|
||||
.nav-logo:focus-visible,
|
||||
.btn:focus-visible,
|
||||
.filter-btn:focus-visible,
|
||||
.news-link:focus-visible,
|
||||
.nav-burger:focus-visible,
|
||||
input:focus-visible,
|
||||
textarea:focus-visible,
|
||||
select:focus-visible {
|
||||
outline: 2px solid #e53935;
|
||||
outline-offset: 2px;
|
||||
}
|
||||
@@ -3,341 +3,24 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="theme-color" content="#e53935">
|
||||
<meta name="description" content="Studio Sample 工作室大事記 — 從 2020 年於東京創立至今的重要里程碑、獲獎、合作與作品上線紀錄。">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:locale" content="zh_TW">
|
||||
<meta property="og:site_name" content="Studio Sample">
|
||||
<meta property="og:title" content="Timeline — Studio Sample">
|
||||
<meta property="og:description" content="工作室從 2020 年創立至今的重要時刻。Key milestones from founding to now.">
|
||||
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'><rect width='64' height='64' rx='8' fill='%23e53935'/><text x='32' y='45' font-family='Arial,sans-serif' font-size='42' font-weight='bold' fill='white' text-anchor='middle'>S</text></svg>">
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<title>Timeline — Studio Sample</title>
|
||||
<style>
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
html {
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
|
||||
"Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP",
|
||||
"Noto Sans TC", system-ui, sans-serif;
|
||||
background-color: #ffffff;
|
||||
color: #333333;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
/* ─── NAV ─────────────────────────────────────────────── */
|
||||
nav {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 100;
|
||||
background: #ffffff;
|
||||
border-bottom: 1px solid #eeeeee;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 0 clamp(16px, 5vw, 64px);
|
||||
height: 56px;
|
||||
}
|
||||
|
||||
.nav-logo {
|
||||
font-size: 18px;
|
||||
font-weight: 800;
|
||||
letter-spacing: 0.12em;
|
||||
color: #e53935;
|
||||
text-transform: uppercase;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.nav-links {
|
||||
display: flex;
|
||||
gap: clamp(16px, 3vw, 40px);
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.nav-links a {
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
color: #555555;
|
||||
text-decoration: none;
|
||||
transition: color 0.2s;
|
||||
}
|
||||
|
||||
.nav-links a:hover,
|
||||
.nav-links a.active {
|
||||
color: #e53935;
|
||||
}
|
||||
|
||||
/* ─── PAGE HEADER ─────────────────────────────────────── */
|
||||
.page-header {
|
||||
background: #f7f7f7;
|
||||
padding: clamp(48px, 8vw, 96px) clamp(24px, 8vw, 96px);
|
||||
border-bottom: 1px solid #eeeeee;
|
||||
}
|
||||
|
||||
.page-header-label {
|
||||
font-size: 11px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.2em;
|
||||
text-transform: uppercase;
|
||||
color: #e53935;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.page-header-title {
|
||||
font-size: clamp(36px, 6vw, 72px);
|
||||
font-weight: 800;
|
||||
letter-spacing: -0.02em;
|
||||
line-height: 1.05;
|
||||
color: #111111;
|
||||
}
|
||||
|
||||
.page-header-sub {
|
||||
margin-top: 16px;
|
||||
font-size: clamp(14px, 1.5vw, 16px);
|
||||
color: #777777;
|
||||
max-width: 480px;
|
||||
}
|
||||
|
||||
/* ─── TIMELINE WRAPPER ────────────────────────────────── */
|
||||
.timeline-section {
|
||||
padding: clamp(64px, 10vw, 120px) clamp(24px, 8vw, 96px);
|
||||
}
|
||||
|
||||
.timeline {
|
||||
position: relative;
|
||||
max-width: 860px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
/* vertical line */
|
||||
.timeline::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 140px;
|
||||
top: 8px;
|
||||
bottom: 8px;
|
||||
width: 1px;
|
||||
background: #e0e0e0;
|
||||
}
|
||||
|
||||
/* ─── YEAR GROUP ──────────────────────────────────────── */
|
||||
.timeline-year {
|
||||
margin-bottom: 56px;
|
||||
}
|
||||
|
||||
.timeline-year-label {
|
||||
font-size: 11px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.2em;
|
||||
text-transform: uppercase;
|
||||
color: #bbbbbb;
|
||||
width: 120px;
|
||||
text-align: right;
|
||||
padding-top: 4px;
|
||||
padding-right: 0;
|
||||
margin-bottom: 24px;
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
/* ─── SINGLE EVENT ────────────────────────────────────── */
|
||||
.timeline-item {
|
||||
display: grid;
|
||||
grid-template-columns: 120px 1fr;
|
||||
gap: 0 40px;
|
||||
position: relative;
|
||||
margin-bottom: 36px;
|
||||
}
|
||||
|
||||
.timeline-item:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/* date column */
|
||||
.timeline-date {
|
||||
text-align: right;
|
||||
padding-top: 2px;
|
||||
}
|
||||
|
||||
.timeline-date-month {
|
||||
font-size: 11px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.12em;
|
||||
text-transform: uppercase;
|
||||
color: #aaaaaa;
|
||||
}
|
||||
|
||||
.timeline-date-day {
|
||||
font-size: 22px;
|
||||
font-weight: 800;
|
||||
color: #dddddd;
|
||||
line-height: 1;
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
/* dot */
|
||||
.timeline-item::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 134px;
|
||||
top: 6px;
|
||||
width: 13px;
|
||||
height: 13px;
|
||||
border-radius: 50%;
|
||||
background: #ffffff;
|
||||
border: 2px solid #cccccc;
|
||||
transition: border-color 0.2s, background 0.2s;
|
||||
}
|
||||
|
||||
.timeline-item.highlight::after {
|
||||
background: #e53935;
|
||||
border-color: #e53935;
|
||||
}
|
||||
|
||||
/* content column */
|
||||
.timeline-content {
|
||||
padding-left: 20px;
|
||||
padding-bottom: 36px;
|
||||
border-bottom: 1px solid #f2f2f2;
|
||||
}
|
||||
|
||||
.timeline-item:last-child .timeline-content {
|
||||
border-bottom: none;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.timeline-tag {
|
||||
display: inline-block;
|
||||
font-size: 10px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.15em;
|
||||
text-transform: uppercase;
|
||||
color: #e53935;
|
||||
background: #fdecea;
|
||||
border-radius: 2px;
|
||||
padding: 2px 7px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.timeline-tag.tag-launch { color: #1976d2; background: #e3f2fd; }
|
||||
.timeline-tag.tag-award { color: #388e3c; background: #e8f5e9; }
|
||||
.timeline-tag.tag-collab { color: #7b1fa2; background: #f3e5f5; }
|
||||
.timeline-tag.tag-studio { color: #e53935; background: #fdecea; }
|
||||
.timeline-tag.tag-article { color: #f57c00; background: #fff3e0; }
|
||||
|
||||
.timeline-title {
|
||||
font-size: clamp(15px, 2vw, 17px);
|
||||
font-weight: 700;
|
||||
color: #111111;
|
||||
line-height: 1.35;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
.timeline-desc {
|
||||
font-size: 14px;
|
||||
color: #666666;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
.timeline-desc span {
|
||||
display: block;
|
||||
color: #999999;
|
||||
margin-top: 2px;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
/* ─── FOOTER ──────────────────────────────────────────── */
|
||||
footer {
|
||||
background: #111111;
|
||||
color: #aaaaaa;
|
||||
padding: clamp(32px, 6vw, 56px) clamp(24px, 8vw, 96px);
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.footer-nav {
|
||||
display: flex;
|
||||
gap: clamp(16px, 3vw, 32px);
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.footer-nav a {
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
color: #555555;
|
||||
text-decoration: none;
|
||||
transition: color 0.2s;
|
||||
}
|
||||
|
||||
.footer-nav a:hover {
|
||||
color: #e53935;
|
||||
}
|
||||
|
||||
.footer-logo {
|
||||
font-size: 16px;
|
||||
font-weight: 800;
|
||||
letter-spacing: 0.12em;
|
||||
color: #e53935;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.footer-copy {
|
||||
font-size: 12px;
|
||||
color: #555555;
|
||||
letter-spacing: 0.05em;
|
||||
}
|
||||
|
||||
/* ─── RESPONSIVE ──────────────────────────────────────── */
|
||||
@media (max-width: 600px) {
|
||||
.timeline::before {
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.timeline-item {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 4px 0;
|
||||
padding-left: 22px;
|
||||
}
|
||||
|
||||
.timeline-item::after {
|
||||
left: -6px;
|
||||
top: 4px;
|
||||
}
|
||||
|
||||
.timeline-date {
|
||||
text-align: left;
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.timeline-date-day {
|
||||
font-size: 14px;
|
||||
color: #cccccc;
|
||||
}
|
||||
|
||||
.timeline-content {
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
.timeline-year-label {
|
||||
width: auto;
|
||||
text-align: left;
|
||||
padding-left: 22px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<!-- ─── NAV ─────────────────────────────────────────────── -->
|
||||
<nav>
|
||||
<a class="nav-logo" href="index.html">Studio Sample</a>
|
||||
<input type="checkbox" id="nav-toggle" class="nav-toggle">
|
||||
<label class="nav-burger" for="nav-toggle" aria-label="開啟選單">☰</label>
|
||||
<ul class="nav-links">
|
||||
<li><a href="services.html">Services</a></li>
|
||||
<li><a href="works.html">Works</a></li>
|
||||
|
||||
@@ -3,322 +3,24 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="theme-color" content="#e53935">
|
||||
<meta name="description" content="Studio Sample 作品集 — 品牌識別、網頁設計與印刷編輯的代表作品,可依類別篩選瀏覽。">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:locale" content="zh_TW">
|
||||
<meta property="og:site_name" content="Studio Sample">
|
||||
<meta property="og:title" content="Works — Studio Sample">
|
||||
<meta property="og:description" content="近年完成的代表作品 — 品牌、網頁、印刷,每一個都從頭到尾親手完成。">
|
||||
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'><rect width='64' height='64' rx='8' fill='%23e53935'/><text x='32' y='45' font-family='Arial,sans-serif' font-size='42' font-weight='bold' fill='white' text-anchor='middle'>S</text></svg>">
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<title>Works — Studio Sample</title>
|
||||
<style>
|
||||
* { box-sizing: border-box; margin: 0; padding: 0; }
|
||||
|
||||
html { scroll-behavior: smooth; }
|
||||
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
|
||||
"Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP",
|
||||
"Noto Sans TC", system-ui, sans-serif;
|
||||
background-color: #ffffff;
|
||||
color: #333333;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
/* ─── NAV ─────────────────────────────────────────────── */
|
||||
nav {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 100;
|
||||
background: #ffffff;
|
||||
border-bottom: 1px solid #eeeeee;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 0 clamp(16px, 5vw, 64px);
|
||||
height: 56px;
|
||||
}
|
||||
|
||||
.nav-logo {
|
||||
font-size: 18px;
|
||||
font-weight: 800;
|
||||
letter-spacing: 0.12em;
|
||||
color: #e53935;
|
||||
text-transform: uppercase;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.nav-links {
|
||||
display: flex;
|
||||
gap: clamp(16px, 3vw, 40px);
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.nav-links a {
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
color: #555555;
|
||||
text-decoration: none;
|
||||
transition: color 0.2s;
|
||||
}
|
||||
|
||||
.nav-links a:hover,
|
||||
.nav-links a.active { color: #e53935; }
|
||||
|
||||
/* ─── PAGE HEADER ─────────────────────────────────────── */
|
||||
.page-header {
|
||||
padding: clamp(48px, 7vw, 88px) clamp(24px, 8vw, 96px) clamp(32px, 4vw, 48px);
|
||||
background: #f7f7f7;
|
||||
border-bottom: 1px solid #eeeeee;
|
||||
}
|
||||
|
||||
.page-header-eyebrow {
|
||||
font-size: 11px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.25em;
|
||||
text-transform: uppercase;
|
||||
color: #e53935;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.page-header-title {
|
||||
font-size: clamp(32px, 5vw, 64px);
|
||||
font-weight: 800;
|
||||
letter-spacing: -0.02em;
|
||||
color: #111111;
|
||||
line-height: 1.1;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.page-header-lead {
|
||||
font-size: clamp(14px, 1.5vw, 17px);
|
||||
color: #666666;
|
||||
max-width: 38em;
|
||||
}
|
||||
|
||||
/* ─── FILTER BAR ──────────────────────────────────────── */
|
||||
.filter-bar {
|
||||
padding: 20px clamp(24px, 8vw, 96px);
|
||||
border-bottom: 1px solid #eeeeee;
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.filter-btn {
|
||||
padding: 6px 16px;
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
border: 1px solid #dddddd;
|
||||
background: transparent;
|
||||
color: #666666;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
.filter-btn:hover,
|
||||
.filter-btn.active {
|
||||
border-color: #e53935;
|
||||
color: #e53935;
|
||||
}
|
||||
|
||||
/* ─── WORKS GRID ──────────────────────────────────────── */
|
||||
.works-section {
|
||||
padding: clamp(40px, 6vw, 72px) clamp(24px, 8vw, 96px);
|
||||
}
|
||||
|
||||
.works-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
|
||||
gap: 32px;
|
||||
}
|
||||
|
||||
.work-card {
|
||||
background: #ffffff;
|
||||
border: 1px solid #eeeeee;
|
||||
overflow: hidden;
|
||||
transition: box-shadow 0.2s;
|
||||
}
|
||||
|
||||
.work-card:hover {
|
||||
box-shadow: 0 8px 32px rgba(0,0,0,0.08);
|
||||
}
|
||||
|
||||
.work-thumb {
|
||||
width: 100%;
|
||||
aspect-ratio: 16/9;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: clamp(28px, 3.5vw, 44px);
|
||||
font-weight: 900;
|
||||
letter-spacing: -0.02em;
|
||||
}
|
||||
|
||||
.work-thumb.red { background: #fde8e8; color: #e53935; }
|
||||
.work-thumb.dark { background: #222222; color: #444444; }
|
||||
.work-thumb.gray { background: #e8e8e8; color: #bbbbbb; }
|
||||
.work-thumb.cream { background: #f5f0e8; color: #c8b89a; }
|
||||
.work-thumb.navy { background: #1a2640; color: #2e4070; }
|
||||
.work-thumb.sage { background: #e4ece4; color: #8aaa8a; }
|
||||
.work-thumb.black { background: #111111; color: #333333; }
|
||||
.work-thumb.blush { background: #fde8f0; color: #e07898; }
|
||||
|
||||
.work-body {
|
||||
padding: 24px 28px;
|
||||
}
|
||||
|
||||
.work-meta {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.work-tag {
|
||||
font-size: 11px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.15em;
|
||||
text-transform: uppercase;
|
||||
color: #e53935;
|
||||
}
|
||||
|
||||
.work-year {
|
||||
font-size: 11px;
|
||||
color: #aaaaaa;
|
||||
letter-spacing: 0.05em;
|
||||
}
|
||||
|
||||
.work-title {
|
||||
font-size: clamp(16px, 1.7vw, 20px);
|
||||
font-weight: 800;
|
||||
color: #111111;
|
||||
margin-bottom: 8px;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
.work-desc {
|
||||
font-size: 13px;
|
||||
color: #777777;
|
||||
line-height: 1.7;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.work-scope {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.scope-tag {
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.06em;
|
||||
padding: 3px 10px;
|
||||
border: 1px solid #eeeeee;
|
||||
color: #888888;
|
||||
}
|
||||
|
||||
/* ─── FEATURED (wide) ─────────────────────────────────── */
|
||||
.work-card.featured {
|
||||
grid-column: span 2;
|
||||
}
|
||||
|
||||
.work-card.featured .work-thumb {
|
||||
aspect-ratio: 21/9;
|
||||
}
|
||||
|
||||
@media (max-width: 720px) {
|
||||
.work-card.featured { grid-column: span 1; }
|
||||
.work-card.featured .work-thumb { aspect-ratio: 16/9; }
|
||||
}
|
||||
|
||||
/* ─── CTA STRIP ───────────────────────────────────────── */
|
||||
.cta-strip {
|
||||
background: #111111;
|
||||
padding: clamp(40px, 6vw, 72px) clamp(24px, 8vw, 96px);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 24px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.cta-strip-text h2 {
|
||||
font-size: clamp(22px, 3vw, 36px);
|
||||
font-weight: 800;
|
||||
color: #ffffff;
|
||||
letter-spacing: -0.01em;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
.cta-strip-text p {
|
||||
font-size: clamp(13px, 1.3vw, 15px);
|
||||
color: #888888;
|
||||
}
|
||||
|
||||
.btn {
|
||||
display: inline-block;
|
||||
padding: 14px 32px;
|
||||
font-size: 14px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.1em;
|
||||
text-transform: uppercase;
|
||||
text-decoration: none;
|
||||
border: 2px solid #e53935;
|
||||
transition: background 0.2s, color 0.2s;
|
||||
}
|
||||
|
||||
.btn-primary { background: #e53935; color: #ffffff; }
|
||||
.btn-primary:hover { background: #c62828; border-color: #c62828; }
|
||||
|
||||
/* ─── FOOTER ──────────────────────────────────────────── */
|
||||
footer {
|
||||
background: #111111;
|
||||
padding: 32px clamp(24px, 8vw, 96px);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
flex-wrap: wrap;
|
||||
gap: 16px;
|
||||
border-top: 1px solid #1e1e1e;
|
||||
}
|
||||
|
||||
.footer-logo {
|
||||
font-size: 16px;
|
||||
font-weight: 800;
|
||||
letter-spacing: 0.12em;
|
||||
color: #e53935;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.footer-nav {
|
||||
display: flex;
|
||||
gap: clamp(16px, 3vw, 32px);
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.footer-nav a {
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
color: #555555;
|
||||
text-decoration: none;
|
||||
transition: color 0.2s;
|
||||
}
|
||||
|
||||
.footer-nav a:hover { color: #e53935; }
|
||||
|
||||
.footer-copy {
|
||||
font-size: 12px;
|
||||
color: #555555;
|
||||
letter-spacing: 0.05em;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<!-- ─── NAV ─────────────────────────────────────────────── -->
|
||||
<nav>
|
||||
<a class="nav-logo" href="index.html">Studio Sample</a>
|
||||
<input type="checkbox" id="nav-toggle" class="nav-toggle">
|
||||
<label class="nav-burger" for="nav-toggle" aria-label="開啟選單">☰</label>
|
||||
<ul class="nav-links">
|
||||
<li><a href="services.html">Services</a></li>
|
||||
<li><a href="works.html" class="active">Works</a></li>
|
||||
@@ -340,11 +42,11 @@
|
||||
|
||||
<!-- ─── FILTER BAR ─────────────────────────────────────────── -->
|
||||
<div class="filter-bar">
|
||||
<button class="filter-btn active">All</button>
|
||||
<button class="filter-btn">Branding</button>
|
||||
<button class="filter-btn">Web</button>
|
||||
<button class="filter-btn">Print</button>
|
||||
<button class="filter-btn">Identity</button>
|
||||
<button class="filter-btn active" data-cat="all">All</button>
|
||||
<button class="filter-btn" data-cat="branding">Branding</button>
|
||||
<button class="filter-btn" data-cat="web">Web</button>
|
||||
<button class="filter-btn" data-cat="print">Print</button>
|
||||
<button class="filter-btn" data-cat="identity">Identity</button>
|
||||
</div>
|
||||
|
||||
<!-- ─── WORKS ─────────────────────────────────────────────── -->
|
||||
@@ -352,7 +54,7 @@
|
||||
<div class="works-grid">
|
||||
|
||||
<!-- Featured -->
|
||||
<div class="work-card featured">
|
||||
<div class="work-card featured" data-cat="web">
|
||||
<div class="work-thumb dark">ARCH</div>
|
||||
<div class="work-body">
|
||||
<div class="work-meta">
|
||||
@@ -374,7 +76,7 @@
|
||||
</div>
|
||||
|
||||
<!-- Card 2 -->
|
||||
<div class="work-card">
|
||||
<div class="work-card" data-cat="branding identity">
|
||||
<div class="work-thumb red">BRAND</div>
|
||||
<div class="work-body">
|
||||
<div class="work-meta">
|
||||
@@ -394,7 +96,7 @@
|
||||
</div>
|
||||
|
||||
<!-- Card 3 -->
|
||||
<div class="work-card">
|
||||
<div class="work-card" data-cat="print">
|
||||
<div class="work-thumb gray">PRINT</div>
|
||||
<div class="work-body">
|
||||
<div class="work-meta">
|
||||
@@ -414,14 +116,14 @@
|
||||
</div>
|
||||
|
||||
<!-- Card 4 -->
|
||||
<div class="work-card">
|
||||
<div class="work-card" data-cat="print identity">
|
||||
<div class="work-thumb cream">MENU</div>
|
||||
<div class="work-body">
|
||||
<div class="work-meta">
|
||||
<p class="work-tag">Print / Identity</p>
|
||||
<p class="work-year">2025</p>
|
||||
</div>
|
||||
<h3 class="work-title">Koto Bistro — Menu & Collateral</h3>
|
||||
<h3 class="work-title">Koto Bistro — Menu & Collateral</h3>
|
||||
<p class="work-desc">
|
||||
京都一家法式和食餐廳的菜單、名片與包裝設計。以奶油色基底搭配極細襯線字體,呈現細膩的高級感。
|
||||
</p>
|
||||
@@ -434,7 +136,7 @@
|
||||
</div>
|
||||
|
||||
<!-- Card 5 -->
|
||||
<div class="work-card">
|
||||
<div class="work-card" data-cat="web">
|
||||
<div class="work-thumb navy">CORP</div>
|
||||
<div class="work-body">
|
||||
<div class="work-meta">
|
||||
@@ -454,7 +156,7 @@
|
||||
</div>
|
||||
|
||||
<!-- Card 6 -->
|
||||
<div class="work-card">
|
||||
<div class="work-card" data-cat="branding">
|
||||
<div class="work-thumb sage">HERB</div>
|
||||
<div class="work-body">
|
||||
<div class="work-meta">
|
||||
@@ -474,7 +176,7 @@
|
||||
</div>
|
||||
|
||||
<!-- Card 7 -->
|
||||
<div class="work-card">
|
||||
<div class="work-card" data-cat="identity print">
|
||||
<div class="work-thumb black">TYPE</div>
|
||||
<div class="work-body">
|
||||
<div class="work-meta">
|
||||
@@ -494,7 +196,7 @@
|
||||
</div>
|
||||
|
||||
<!-- Card 8 -->
|
||||
<div class="work-card">
|
||||
<div class="work-card" data-cat="web">
|
||||
<div class="work-thumb blush">SHOP</div>
|
||||
<div class="work-body">
|
||||
<div class="work-meta">
|
||||
@@ -531,19 +233,25 @@
|
||||
<ul class="footer-nav">
|
||||
<li><a href="services.html">Services</a></li>
|
||||
<li><a href="works.html">Works</a></li>
|
||||
<li><a href="index.html#about">About</a></li>
|
||||
<li><a href="timeline.html">Timeline</a></li>
|
||||
<li><a href="index.html#contact">Contact</a></li>
|
||||
</ul>
|
||||
<div class="footer-copy">© 2026 Studio Sample. All rights reserved.</div>
|
||||
</footer>
|
||||
|
||||
<script>
|
||||
// Simple filter interaction (no framework needed)
|
||||
// 依類別篩選作品(無框架)。卡片以 data-cat 標記,可同時屬於多個類別。
|
||||
const btns = document.querySelectorAll('.filter-btn');
|
||||
const cards = document.querySelectorAll('.work-card');
|
||||
btns.forEach(btn => {
|
||||
btn.addEventListener('click', () => {
|
||||
btns.forEach(b => b.classList.remove('active'));
|
||||
btn.classList.add('active');
|
||||
const cat = btn.dataset.cat;
|
||||
cards.forEach(card => {
|
||||
const show = cat === 'all' || card.dataset.cat.split(' ').includes(cat);
|
||||
card.style.display = show ? '' : 'none';
|
||||
});
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user