:root {
  --white: #ffffff;
  --ink: #233d49;
  --muted: #64747c;
  --mist: #eaf2f6;
  --sun: #f3d776;
  --line: #e4e9eb;
  --body-font: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  --display-font: "Manrope", var(--body-font);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--body-font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
p, h1, h2 { margin: 0; }
::selection { color: var(--ink); background: var(--sun); }
a:focus-visible { outline: 3px solid var(--ink); outline-offset: 6px; border-radius: 4px; }
.page-width { width: min(1320px, calc(100% - 112px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 10; top: 12px; left: 12px; transform: translateY(-160%); padding: 12px 20px; background: var(--ink); color: var(--white); }
.skip-link:focus { transform: none; }

.site-header { height: 104px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; flex: 0 0 auto; align-items: baseline; font-family: var(--display-font); font-size: 32px; font-weight: 800; letter-spacing: -1.5px; line-height: 1; }
.brand-o { letter-spacing: -1px; }
.brand-dot { width: 7px; height: 7px; margin-left: 4px; background: var(--sun); border-radius: 50%; }
.main-nav { display: flex; align-items: center; gap: 36px; font-size: 14px; }
.main-nav a { padding-block: 12px; position: relative; }
.main-nav a::after { content: ""; position: absolute; bottom: 4px; left: 0; width: 100%; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.main-nav a:hover::after { transform: scaleX(1); }
.browse-link { display: flex; align-items: center; gap: 22px; border: 1px solid var(--line); border-radius: 28px; padding: 12px 19px; background:#fff; color:inherit; font-family:inherit; font-size: 13px; cursor:pointer; transition: background .2s; }
.browse-link:hover { background: var(--mist); }
.browse-link span { font-size: 20px; line-height: 1; }

.intro { display: flex; justify-content: space-between; align-items: flex-end; padding: 64px 0 51px; gap: 32px; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-family: var(--display-font); font-size: 10px; font-weight: 700; letter-spacing: 2px; line-height: 1.6; }
.sun-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--sun); }
h1 { margin-top: 20px; font-size: clamp(36px, 4vw, 58px); font-weight: 500; letter-spacing: 1px; line-height: 1.4; }
.highlight { position: relative; white-space: nowrap; }
.highlight svg { position: absolute; width: 100%; height: 13px; bottom: -8px; left: 0; stroke: var(--sun); stroke-width: 7; z-index: -1; }
.intro-note { padding-bottom: 1px; padding-right: 12px; }
.intro-note p { color: var(--muted); font-size: 14px; line-height: 1.9; letter-spacing: .5px; }
.intro-note a { display: inline-flex; align-items: center; gap: 20px; margin-top: 16px; font-size: 12px; }
.intro-note a span { transition: transform .2s; }
.intro-note a:hover span { transform: translateY(4px); }

.collections { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.collection { min-width: 0; display: block; border-radius: 12px; }
.collection-photo { position: relative; overflow: hidden; height: clamp(300px, 31vw, 420px); border-radius: 10px; background: var(--mist); isolation: isolate; }
.collection-photo::after { content: ""; position: absolute; inset: 48% 0 0; background: linear-gradient(transparent, rgba(20,38,47,.22)); pointer-events: none; }
.collection-photo img { height: 100%; width: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.65,.3,1); }
.collection-cushion img { object-position: center 56%; }
.collection-pillow img { object-position: center; }
.collection-glasses img { object-position: 60% center; }
.photo-label { display: inline-flex; align-items: center; gap: 8px; position: absolute; z-index: 1; top: 23px; left: 23px; padding: 10px 14px; border-radius: 24px; background: rgba(255,255,255,.94); font-size: 11px; letter-spacing: .5px; }
.photo-label svg { width: 17px; height: 17px; }
.photo-word { position: absolute; z-index: 1; left: 28px; bottom: 20px; font-family: var(--display-font); font-size: clamp(28px, 3.2vw, 46px); font-weight: 500; letter-spacing: -1.8px; color: var(--white); }
.collection-details { padding: 27px 4px 20px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.category { color: var(--muted); font-family: var(--display-font); font-size: 10px; letter-spacing: 1.8px; font-weight: 600; }
.collection h2 { margin-top: 10px; font-size: clamp(22px, 2.05vw, 29px); font-weight: 500; letter-spacing: .5px; }
.collection-description { margin-top: 12px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.collection-cta { display: inline-flex; gap: 14px; margin-top: 22px; font-size: 12px; font-weight: 500; }
.collection-cta > span { display: none; }
.round-arrow { display: grid; place-items: center; width: 53px; height: 53px; flex: 0 0 53px; border: 1px solid var(--line); border-radius: 50%; font-family: var(--display-font); font-size: 25px; transition: background .25s, transform .25s, border-color .25s; }
.collection:hover .collection-photo img { transform: scale(1.035); }
.collection:hover .round-arrow { background: var(--sun); border-color: var(--sun); transform: translate(2px,-2px); }
.collection:hover .collection-cta { text-decoration: underline; text-underline-offset: 5px; }

.brand-note { margin-top: 42px; padding: 32px 38px; border-radius: 10px; background: var(--mist); display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.brand-note-title { display: flex; align-items: center; gap: 22px; flex-shrink: 0; }
.brand-icon { display: block; width: 51px; height: 51px; }
.brand-note .eyebrow { font-size: 9px; color: var(--muted); letter-spacing: 1.7px; }
.brand-note h2 { font-size: 21px; letter-spacing: 1px; font-weight: 500; margin-top: 7px; }
.brand-note-copy { font-size: 12px; line-height: 2; color: var(--muted); }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 34px; margin-top: 28px; }
.footer-brand { display: flex; align-items: center; gap: 20px; }
.footer-brand .brand { font-size: 24px; }
.footer-brand .brand-dot { width: 5px; height: 5px; }
.footer-brand > span { font-size: 11px; color: var(--muted); letter-spacing: .5px; }
.site-footer > p { font-family: var(--display-font); font-size: 10px; color: var(--muted); letter-spacing: 1px; }
.back-top { font-size: 11px; display: flex; gap: 16px; padding-block: 10px; }

@media (max-width: 1050px) {
  .page-width { width: calc(100% - 64px); }
  .intro { gap: 24px; }
  .intro-note { padding-right: 0; }
  .collections { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .collection-pillow { grid-column: 1 / -1; width: calc(50% - 11px); }
  .collection-details { gap: 10px; }
  .round-arrow { width: 42px; height: 42px; flex-basis: 42px; }
  .brand-note { padding: 28px; gap: 26px; }
  .brand-note-copy br { display: none; }
}

@media (max-width: 760px) {
  .page-width { width: calc(100% - 40px); }
  .site-header { height: 82px; }
  .brand { font-size: 28px; }
  .main-nav { gap: 22px; font-size: 13px; }
  .about-link, .browse-link { display: none; }
  .intro { display: block; padding: 40px 0 32px; }
  .eyebrow { font-size: 9px; letter-spacing: 1.6px; }
  h1 { font-size: clamp(33px, 7vw, 50px); letter-spacing: 0; margin-top: 17px; }
  .intro-note { margin-top: 24px; display: flex; justify-content: space-between; gap: 18px; align-items: flex-end; }
  .intro-note p { font-size: 12px; letter-spacing: 0; }
  .intro-note a { font-size: 11px; gap: 8px; margin: 0 0 3px; }
  .collections { grid-template-columns: 1fr; gap: 28px; }
  .collection-pillow { grid-column: auto; width: auto; }
  .collection-photo { height: auto; aspect-ratio: 1.22; }
  .collection-glasses .collection-photo { aspect-ratio: 1.22; }
  .photo-label { top: 18px; left: 18px; font-size: 10px; padding: 9px 12px; }
  .photo-word { left: 22px; bottom: 17px; font-size: 36px; }
  .collection-details { padding: 23px 2px 8px; }
  .collection h2 { font-size: 25px; }
  .collection-description { font-size: 12px; margin-top: 9px; }
  .collection-cta { margin-top: 16px; }
  .round-arrow { width: 46px; height: 46px; flex-basis: 46px; }
  .brand-note { flex-direction: column; align-items: flex-start; gap: 20px; margin-top: 39px; padding: 28px 24px; }
  .brand-note-title { gap: 18px; }
  .brand-note h2 { font-size: 20px; }
  .brand-note-copy { font-size: 12px; }
  .brand-note-copy br { display: initial; }
  .site-footer { flex-wrap: wrap; padding-block: 26px; gap: 20px; margin-top: 12px; }
  .footer-brand { flex-basis: 100%; justify-content: space-between; }
}

@media (max-width: 380px) {
  .page-width { width: calc(100% - 32px); }
  .main-nav { gap: 16px; font-size: 12px; }
  .intro-note { display: block; }
  .intro-note a { margin-top: 13px; }
  .collection h2 { font-size: 23px; }
  .collection-description { max-width: 245px; }
  .round-arrow { width: 38px; height: 38px; flex-basis: 38px; }
  .brand-note { padding: 24px 18px; }
  .brand-note-title { gap: 12px; }
  .brand-note h2 { font-size: 17px; letter-spacing: .3px; }
  .brand-icon { width: 40px; height: 40px; flex-shrink: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
