:root{--blue:#6e8fa1;--deep:#365566;--ink:#24343c;--muted:#5e6e77;--line:#dce4e8;--pale:#f1f5f7}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:#fff;font-family:-apple-system,BlinkMacSystemFont,'Noto Sans TC','PingFang TC','Microsoft JhengHei',sans-serif;font-size:16px;line-height:1.8}a{color:inherit;text-underline-offset:4px}button,input,select,textarea{font:inherit}button,.button{display:inline-flex;align-items:center;justify-content:center;border:0;background:var(--blue);color:white;padding:12px 24px;border-radius:5px;text-decoration:none;cursor:pointer;font-weight:600}button:hover,.button:hover{background:var(--deep)}button:disabled{opacity:.5;cursor:not-allowed}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #b66027;outline-offset:4px}h1,h2,h3,p{margin:0 0 20px}h1{font-size:clamp(2rem,3.6vw,3.3rem);line-height:1.35;font-weight:500;letter-spacing:.025em}h2{font-size:clamp(1.5rem,2.5vw,2.2rem);line-height:1.45;font-weight:500}h3{font-size:1.1rem}img{display:block;max-width:100%;height:auto}header{background:var(--blue);color:white;padding:16px 4%;display:flex;align-items:center;gap:30px;border-radius:0 0 12px 12px;position:relative;z-index:10}.brand{display:flex;align-items:center;text-decoration:none;gap:12px;line-height:1.2;letter-spacing:.12em;font-size:1.25rem}.brand img{width:43px;height:43px;object-fit:contain}.brand span{font-family:Jost,"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:400;letter-spacing:normal;white-space:nowrap}nav{display:flex;gap:22px;margin:auto;align-items:center}nav a{font-size:.95rem;text-decoration:none;white-space:nowrap}nav a:hover,nav a[aria-current]{text-decoration:underline}.cart-link{white-space:nowrap;text-decoration:none;font-size:.9rem;border:1px solid #b5c7d0;border-radius:30px;padding:7px 14px}.cart-link span{margin-left:8px}.menu-toggle{display:none}.skip{position:absolute;top:-100px}.skip:focus{top:0;background:white;z-index:100}main{max-width:1160px;margin:0 auto;padding:0 32px 90px;min-height:60vh}.home-hero{margin:0 -32px 0;position:relative}.home-hero>img{width:100%;height:365px;object-fit:cover;border-radius:0 0 9px 9px}.hero-caption{margin:0 auto;padding:48px 0 10px;text-align:center}.hero-caption h1{font-size:clamp(2.2rem,4vw,3.6rem);letter-spacing:.08em}.hero-caption h1 br{display:none}.hero-caption p{color:var(--muted)}.hero-caption .eyebrow{color:var(--deep)}.eyebrow{font-size:.8rem;font-weight:600;letter-spacing:.15em;color:var(--blue);margin-bottom:14px}.section{padding:64px 0}.center{text-align:center}.center p{color:var(--muted)}.split{display:grid;grid-template-columns:1.08fr 1fr;gap:52px;align-items:center;padding:45px 0}.split>img,.split>a>img{width:100%;max-height:500px;object-fit:cover;border-radius:9px}.split.reverse>img{order:2}.split p{color:var(--muted)}.intro{text-align:center;max-width:800px;margin:auto;padding:62px 0 36px}.intro>p:last-child{color:var(--muted)}.catalog-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:18px 0}.catalog-toolbar label{max-width:400px;flex:1}.notice{padding:18px 22px;background:var(--pale);border-left:3px solid var(--blue);font-size:.9rem;line-height:1.8}.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;margin:36px 0}.product-card{border:1px solid var(--line);border-radius:8px;overflow:hidden;background:white;display:flex;flex-direction:column}.product-image{display:block;position:relative;background:#f4f4f3}.product-image img{width:100%;height:280px;object-fit:contain;transition:transform .2s}.product-image:hover img{transform:scale(1.025)}.badge{position:absolute;bottom:12px;left:12px;font-size:.8rem;background:#fffef5ee;padding:4px 10px;color:#3e535f}.badge.sold{background:#35464cee;color:white}.card-content{padding:24px}.card-content h2{font-size:1.15rem;line-height:1.65;min-height:3.3em}.card-content h2 a{text-decoration:none}.price{color:var(--deep);font-size:1.1rem}.text-link{font-size:.9rem;color:var(--deep)}.breadcrumb{font-size:.875rem;padding:28px 0}.product-detail{display:grid;grid-template-columns:1fr 1fr;gap:55px;padding:20px 0}.product-detail h1{font-size:2rem}.main-product{width:100%;height:520px;object-fit:contain;background:#f7f7f7;border-radius:8px}.gallery{display:flex;gap:8px;overflow:auto;padding:14px 0}.thumb{padding:0;background:#f3f3f3;min-width:76px;width:76px;height:76px;border:1px solid var(--line)}.thumb img{width:100%;height:100%;object-fit:contain}.description{white-space:pre-line;margin:32px 0;line-height:1.9}.add-form{display:flex;flex-wrap:wrap;gap:16px;align-items:end;padding:18px 0}.add-form label{max-width:200px}.add-form input{max-width:100px}.subtle{font-size:.875rem;color:var(--muted)}label{display:block;font-size:.95rem}label>span{font-size:.8rem;color:var(--muted)}input,select,textarea{display:block;border:1px solid #b7c7d0;background:white;border-radius:4px;padding:11px 13px;width:100%;min-width:0;color:var(--ink);margin-top:6px}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m5 8 5 5 5-5' fill='none' stroke='%23566'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 9px center;padding-right:34px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-bottom:24px}.form-section{max-width:800px;margin:55px auto 0}.check{display:flex;gap:10px;align-items:flex-start;margin:26px 0;flex-wrap:wrap}.check input{width:19px;height:19px;flex-shrink:0}.check a{display:inline}.form-section h2{font-size:1.6rem}.cart-row{display:grid;grid-template-columns:100px 1fr 100px 80px;gap:22px;align-items:center;border-bottom:1px solid var(--line);padding:24px 0}.cart-row img{width:100px;height:100px;object-fit:contain}.cart-row h2{font-size:1.1rem;margin-bottom:8px}.cart-row select{max-width:200px}.remove{background:transparent;color:var(--deep);padding:8px;text-decoration:underline}.remove:hover{background:var(--pale)}.empty{padding:50px;text-align:center;background:var(--pale)}.sold-notice{padding:20px;background:#f2ece8;color:#714c38}.wide-image{width:100%;max-height:360px;object-fit:contain}.steps{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;margin:40px 0}.steps>div{padding:20px 8px;background:var(--pale);text-align:center;font-size:.9rem}.prose{max-width:800px;margin:30px auto 50px}.prose h2{margin-top:38px}.person{display:grid;grid-template-columns:270px 1fr;gap:45px;padding:45px 0;border-top:1px solid var(--line)}.person img{width:100%;border-radius:8px}.timeline{display:grid;grid-template-columns:120px 1fr;gap:15px}.timeline dt{color:var(--blue);font-weight:600}.timeline dd{margin:0}.serials{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;list-style:none;padding:0}.serials li{background:var(--pale);padding:12px;font-size:.9rem}.contact-layout{display:grid;grid-template-columns:1fr 1.5fr;gap:60px;margin-top:40px}.contact-layout h2{font-size:1.5rem}details{margin:30px 0}summary{cursor:pointer;color:var(--deep)}.watch-links{padding:0;list-style:none}.watch-links li{padding:16px 0;border-bottom:1px solid var(--line)}footer{background:var(--blue);color:white;padding:55px 6% 25px}.footer-grid{max-width:1100px;margin:auto;display:grid;grid-template-columns:1.45fr 1fr;gap:55px}.footer-grid h2{font-size:1.3rem;margin-top:18px}.footer-grid p{font-size:.9rem;color:#f1f5f7}.footer-links{max-width:1100px;margin:32px auto 0;padding:15px 0;border-top:1px solid #ffffff44;display:flex;align-items:center;flex-wrap:wrap;gap:8px 0}.footer-links a{font-size:.85rem;text-decoration:none;padding:0 10px;white-space:nowrap;color:#fff;transition:color 200ms}.footer-links a:first-child{padding-left:0}.footer-links a+a{border-inline-start:1px solid #ffffff55}header #nav a{color:#fff;text-decoration:none;transition:color 200ms}header #nav a:hover,header #nav a:focus-visible,.footer-links a:hover,.footer-links a:focus-visible{color:#0f2f3c;text-decoration:none}.footer-bottom{max-width:1100px;margin:0 auto;padding-top:20px;border-top:1px solid #ffffff44;font-size:.8rem;display:flex;justify-content:space-between;gap:20px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:var(--deep);color:white;padding:12px 24px;border-radius:6px;z-index:50;max-width:90vw;display:none}#toast.visible{display:block}#form-status{margin-top:20px;color:#714c38}#summary-panel{margin-top:30px;background:var(--pale);padding:25px}pre{font:inherit;white-space:pre-wrap;overflow-wrap:anywhere}.error{color:#a33}[hidden]{display:none!important}@media(max-width:1100px){header{gap:15px;padding:16px 24px}nav{gap:12px}nav a{font-size:.85rem}}@media(max-width:850px){.menu-toggle{display:block;margin-left:auto;background:transparent;padding:8px}nav{display:none;position:absolute;top:100%;left:0;right:0;background:var(--blue);padding:20px 24px;box-shadow:0 8px 10px #0001}nav.open{display:grid;grid-template-columns:1fr 1fr;gap:20px}nav a{font-size:1rem}.product-grid{grid-template-columns:1fr 1fr}.product-detail{gap:28px}.contact-layout{grid-template-columns:1fr}.footer-grid{gap:25px}}@media(max-width:600px){header{padding:12px 16px;gap:10px}.brand{font-size:1.05rem;gap:8px}.brand img{width:34px;height:34px}.cart-link{padding:5px 9px;font-size:.8rem}main{padding:0 20px 60px}.home-hero{margin:0 -20px}.home-hero>img{height:200px}.hero-caption{padding:32px 20px 0}.hero-caption h1 br{display:block}.hero-caption h1{font-size:2.25rem}.split,.product-detail,.person{grid-template-columns:1fr;gap:24px;padding:30px 0}.split.reverse>img{order:0}.section{padding:38px 0}.intro{padding:38px 0 20px}.product-grid{grid-template-columns:1fr;gap:24px}.product-image img{height:320px}.catalog-toolbar{align-items:end}.catalog-toolbar>span{font-size:.85rem;white-space:nowrap}.main-product{height:360px}.product-detail h1{font-size:1.7rem}.form-grid{grid-template-columns:1fr;gap:18px}.cart-row{grid-template-columns:70px 1fr 72px;gap:12px}.cart-row img{width:70px;height:80px}.cart-row .remove{grid-column:3}.cart-row h2{font-size:.95rem}.cart-row input{padding:8px}.steps{grid-template-columns:repeat(2,1fr)}.serials{grid-template-columns:repeat(2,1fr)}.person img{max-width:280px;margin:auto}.footer-grid{grid-template-columns:1fr;gap:24px}.footer-bottom{flex-direction:column}.timeline{grid-template-columns:100px 1fr}.check{font-size:.875rem}.empty{padding:32px 18px}button,.button{min-height:44px}.product-card h2{min-height:0}}
.footer-distributor { white-space: nowrap; }
.contact-submit {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 gap: 14px;
 padding: 10px 24px;
 border-radius: 999px;
 font-weight: 400;
}
.contact-submit svg { flex: none; }

.contact-success {
 box-sizing: border-box;
 width: min(620px, calc(100% - 32px));
 max-height: calc(100dvh - 32px);
 padding: clamp(28px, 5vw, 48px) clamp(18px, 4vw, 36px);
 border: 1px solid var(--line);
 border-top: 3px solid var(--blue);
 border-radius: 10px;
 background: var(--pale);
 text-align: center;
}
.contact-success::backdrop {
 background: rgb(36 52 60 / 22%);
 backdrop-filter: blur(6px);
}
.contact-success-dismiss { position: absolute; top: 8px; right: 8px; }
.contact-success-dismiss button {
 width: 36px;
 height: 36px;
 padding: 0;
 background: transparent;
 color: var(--deep);
 font-size: 1.4rem;
 font-weight: 400;
}
.contact-success-icon {
 display: block;
 width: 46px;
 height: 46px;
 margin: 0 auto 16px;
 padding: 10px;
 border-radius: 50%;
 background: #dce9ef;
 color: var(--deep);
}
.contact-success h2 { margin-bottom: 10px; color: var(--deep); }
.contact-success p { margin: 0; color: var(--ink); }
.contact-success-details {
 display: flex;
 flex-wrap: wrap;
 justify-content: center;
 gap: 8px 16px;
 margin: 16px 0 0;
 padding: 0;
 color: var(--deep);
 font-size: .9rem;
 list-style: none;
}
.contact-success-details li { display: inline-flex; align-items: center; gap: 6px; }
.contact-success-details svg { flex: none; }
.contact-success #contact-confirmation {
 margin-top: 16px;
 padding-top: 12px;
 border-top: 1px solid var(--line);
 color: var(--muted);
 font-size: .9rem;
}
.contact-success-blueprint {
 margin: 20px auto 0;
}
.contact-success-blueprint img {
 width: 118px;
 height: auto;
 margin: 0 auto;
}

.serials li {
 display: flex;
 flex-wrap: wrap;
 align-items: baseline;
 gap: 2px 8px;
 padding: 0 0 8px;
 border-bottom: 1px solid #e6e6e6;
 background: transparent;
 font: 400 14px/20px "Noto Sans", Helvetica, Arial, sans-serif;
 color: #666;
}
.serials .serial-label,
.serials .serial-note {
 font-size: 10px;
 line-height: 15px;
 letter-spacing: 1px;
 color: #8c8c8c;
}
.serials .serial-note { color: #6491a6; }

.sold-page .shop-intro-copy h1 {
 color: #6491a6;
 font: 400 22px/1.2 Jost, "Helvetica Neue", Helvetica, Arial, sans-serif;
 letter-spacing: normal;
}
.sold-page .shop-intro-copy > p {
 color: #8c8c8c;
 font: 400 16px/26px "Noto Sans", Helvetica, Arial, sans-serif;
}
.sold-page .section h2 {
 color: #666;
 font: 400 24px/32px Jost, "Helvetica Neue", Helvetica, Arial, sans-serif;
 letter-spacing: .6px;
}
.sold-section-heading {
 display: flex;
 align-items: baseline;
 justify-content: space-between;
 gap: 12px;
 padding-bottom: 12px;
 margin-bottom: 24px;
 border-bottom: 1px solid #e6e6e6;
}
.sold-section-heading h2 { margin: 0; }
.sold-section-heading span {
 color: #8c8c8c;
 font: 400 11px/1.5 "Noto Sans", Helvetica, Arial, sans-serif;
 letter-spacing: 1.1px;
 white-space: nowrap;
}

.product-image .badge.sold {
 inset: 0;
 display: grid;
 place-items: center;
 background: rgb(255 255 255 / 70%);
 color: #6491a6;
 font: 400 .875rem/1.25rem "Noto Sans", Helvetica, Arial, sans-serif;
 letter-spacing: .1em;
 pointer-events: none;
}
.card-actions {
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 8px;
}
.card-actions .button,
#product-inquiry button[type="submit"] {
 flex: none;
 min-height: 32px;
 padding: 4px 14px;
 border-radius: 9999px;
 font-size: .9rem;
 line-height: 1.4;
}
#product-inquiry { scroll-margin-top: 16px; }
#product-inquiry input[name="quantity"] {
 height: 32px;
 padding: 4px 8px;
 font-size: 1rem;
 line-height: 1.4;
}
#product-inquiry.machine-inquiry button[type="submit"] {
 flex-basis: 100%;
 min-height: 48px;
}
main:has(> .product-detail) {
 --product-text: #666;
 --product-muted: #8c8c8c;
 --product-accent: #6491a6;
 max-width: 1280px;
 padding: 0 32px 64px;
 color: var(--product-text);
}
.product-detail .subtle { color: var(--product-muted); }
.product-return {
 padding-block: 16px;
 border-bottom: 1px solid var(--line);
 border-image: linear-gradient(var(--line), var(--line)) 1 / 0 0 1px / 0 100vmax;
}
.product-return a {
 display: flex;
 width: fit-content;
 align-items: center;
 gap: 8px;
 color: var(--product-muted);
 font: 400 .75rem/1rem "Noto Sans", Helvetica, Arial, sans-serif;
 letter-spacing: .1em;
 text-decoration: none;
}
.product-return a:hover { color: var(--product-text); }
.product-return svg { width: 14px; height: 14px; }
.product-detail .product-category {
 margin: 0 0 16px;
 color: var(--product-accent);
 font: 400 .75rem/1rem "Noto Sans", Helvetica, Arial, sans-serif;
 letter-spacing: .3em;
}
#product-inquiry :is(input, select) { color: var(--product-text); }
.product-detail { gap: 64px; padding-top: 48px; }
.product-gallery-main { position: relative; }
.product-detail .main-product {
 height: auto;
 aspect-ratio: 1.295;
}
.product-detail h1 {
 font-size: 1.875rem;
 line-height: 1.2;
}
.product-photo-count {
 position: absolute;
 right: 12px;
 bottom: 12px;
 padding: 2px 8px;
 background: #fff;
 border-radius: 4px;
 font-size: .8rem;
}
.product-gallery-main.is-sold .product-photo-count { right: auto; left: 12px; }
.product-sold-badge {
 position: absolute;
 right: 12px;
 bottom: 12px;
 color: white;
 background: #900;
 padding: 8px 12px;
 font: 400 .75rem/1rem "Noto Sans", Helvetica, Arial, sans-serif;
 letter-spacing: .15em;
 box-shadow: 0 2px 4px #0002;
}
.product-sold-button:disabled {
 width: 100%;
 min-height: 48px;
 padding: 8px 16px;
 border-radius: 9999px;
 color: var(--product-muted);
 background: #f5f5f5;
 font-weight: 500;
 font-size: .875rem;
 line-height: 1.25rem;
 opacity: .4;
 cursor: default;
}
.product-detail .gallery { flex-wrap: wrap; }
.product-detail .thumb {
 min-width: 0;
 width: clamp(50px, 12vw, 76px);
 height: clamp(50px, 12vw, 76px);
 opacity: .65;
}
.product-detail .thumb:hover,
.product-detail .thumb[aria-pressed="true"] { opacity: 1; }
.product-detail .description {
 margin-block: 20px 24px;
 color: var(--product-muted);
 font-size: .875rem;
 line-height: 1.625;
}
.product-facts { margin: 0 0 20px; }
.product-facts > div {
 display: flex;
 justify-content: space-between;
 gap: 12px;
 min-height: 45px;
 align-items: center;
 padding: 8px 0;
 border-bottom: 1px solid var(--line);
}
.product-facts dt { color: var(--product-muted); font-size: .75rem; line-height: 1rem; }
.product-facts dd { margin: 0; text-align: end; font-size: .875rem; line-height: 1.25rem; }
.product-service-details {
 display: flex;
 flex-wrap: wrap;
 gap: 8px;
 padding: 0;
 margin: 0 0 12px;
 list-style: none;
}
.product-service-details li {
 display: flex;
 flex: 1 1 0;
 flex-direction: column;
 justify-content: center;
 align-items: center;
 gap: 8px;
 min-height: 67px;
 min-width: 0;
 padding: 8px 6px;
 text-align: center;
 border: 1px solid var(--line);
 color: var(--product-muted);
 font-size: .625rem;
 line-height: 1.25;
}
.product-service-details svg { width: 20px; height: 20px; color: var(--product-accent); }
@media (max-width: 991px) {
 .product-detail { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 767px) {
 main:has(> .product-detail) { padding-inline: 16px; }
 .product-detail { padding-top: 40px; }
 .product-detail h1 { font-size: 1.5rem; line-height: 1.375; }
}
.mobile-menu-link { display: none; }
header .cart-link {
 display: inline-flex;
 align-items: center;
 gap: 6px;
}
header .cart-link span { margin: 0; }
.menu-cart-icon { width: 22px; height: 22px; flex: none; }
.cart-label {
 position: absolute;
 width: 1px;
 height: 1px;
 overflow: hidden;
 clip-path: inset(50%);
}
#cart-count::before { content: "("; }
#cart-count::after { content: ")"; }
@media (max-width: 767px) {
 html { background-color: var(--blue); }
}
@media (max-width: 420px) {
 .footer-distributor { display: block; }
}
@media(max-width:600px){.hero-caption h1{font-size:1.85rem;letter-spacing:.045em;line-height:1.5}}

@media (max-width: 850px) {
 header { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
 header .brand, header .cart-link { flex: none; }
 header .cart-link { margin-inline-start: auto; }
 header .menu-toggle {
  order: 1;
  display: inline-flex;
  flex: 0 0 44px;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  background: transparent;
 }
 header .menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
 }
 header .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(6px) rotate(45deg); }
 header .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
 header .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-6px) rotate(-45deg); }

 html.mobile-menu-open { overflow: hidden; }
 html.mobile-menu-open body { padding-top: var(--closed-menu-height, 0px); }
 html.mobile-menu-open header.menu-expanded {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  align-items: center;
  gap: 0;
  padding: 12px 14px max(12px, env(safe-area-inset-bottom));
  border-radius: 0;
 }
 header.menu-expanded .brand { grid-area: 1 / 1; justify-self: start; }
 header.menu-expanded .brand img { width: 52px; height: 52px; }
 header.menu-expanded .brand span { display: none; }
 header.menu-expanded .cart-link {
  grid-area: 1 / 2;
  margin: 0;
  padding: 8px;
  border: 0;
  font-size: 1.125rem;
 }
 header.menu-expanded .menu-cart-icon { width: 25px; height: 25px; }
 header.menu-expanded .menu-toggle { grid-area: 1 / 3; justify-self: end; }
 header.menu-expanded #nav.open {
  position: static;
  grid-area: 2 / 1 / 3 / -1;
  display: block;
  align-self: stretch;
  min-height: 0;
  margin: 14px 0 0;
  padding: 0;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  box-shadow: none;
  border-top: 1px solid #36556655;
 }
 header.menu-expanded #nav a {
  display: flex;
  align-items: center;
  min-height: 61px;
  padding: 12px 11px;
  border-bottom: 1px solid #36556655;
  font-size: 1.25rem;
 }
}

@media (max-width: 360px) {
 header { padding-inline: 12px; gap: 6px; }
 header .brand { font-size: .95rem; gap: 6px; }
 header .brand img { width: 28px; height: 28px; }
 header .cart-link { padding-inline: 6px; }
}

@media (max-width: 315px) {
 header .brand { font-size: .85rem; }
 header .brand img { width: 24px; height: 24px; }
 header .cart-link { font-size: .75rem; }
}

@media (max-width: 600px) {
 .product-detail { grid-template-columns: minmax(0, 1fr); }
 .shop-page .card-content { padding-inline: 16px; }
 .shop-page .product-card h2 { overflow-wrap: anywhere; }
 .footer-links { justify-content: center; }
 .footer-links a:first-child { padding-inline-start: 10px; }
}

.hanna-identity {
 display: inline-flex;
 align-items: center;
 gap: 18px;
}
footer .hanna-identity > span:last-child { line-height: 1.35; }
footer .hanna-mark img { width: auto; height: 2.7em; }
footer .hanna-identity strong { white-space: nowrap; }
@media (max-width: 600px) {
 footer .hanna-identity strong { font-size: clamp(.65rem, 3.2vw, .9rem); }
}
.hanna-mark {
 position: relative;
 display: inline-flex;
 flex: none;
}
.hanna-mark img {
 display: block;
 width: 32px;
 height: auto;
 margin: 0;
}
.hanna-registered {
 position: absolute;
 top: -2px;
 left: calc(100% + 3px);
 font: 600 11px/1 system-ui, sans-serif;
}

.story-content :is(#history-2015, #history-2016) figure > img {
 width: min(100%, 750px);
 height: auto;
 max-height: none;
 aspect-ratio: 5 / 4;
 object-fit: cover;
 margin-inline: auto;
}

.recaptcha-notice {
 max-width: 34rem;
 margin: 0 auto 20px;
 padding-inline: 20px;
 color: var(--muted);
 font-size: .75rem;
 line-height: 1.6;
 text-align: center;
}

/* Homepage follows the Swiss site’s banner, machine and editorial rows. */
main:has(> .home-page) {
 max-width: none;
 padding: 0 0 60px;
}
.home-page { overflow: clip; }
.home-banner {
 width: calc(100% - 40px);
 max-width: 1400px;
 margin: 0 auto;
}
.home-banner img {
 display: block;
 width: 100%;
 height: auto;
 border-radius: 12px;
}
.home-layout {
 display: grid;
 max-width: 1534px;
 margin-inline: auto;
 padding: 24px 16px;
}
.home-machine {
 align-self: start;
 position: relative;
 z-index: 1;
 mix-blend-mode: multiply;
 pointer-events: none;
}
.home-machine img {
 display: block;
 width: 100%;
 height: auto;
 transform: scale(1.02) rotate(10deg);
}
.home-sections { min-width: 0; }
.home-introduction { padding-bottom: 24px; }
.home-introduction h1 {
 margin: 0 0 12px;
 font-family: Jost, "Helvetica Neue", Helvetica, Arial, sans-serif;
 font-size: clamp(24px, 3vw, 32px);
 line-height: 1.2;
}
.home-introduction h1 br { display: none; }
.home-introduction p { color: var(--muted); }
.home-service-summary { margin-top: 20px; }
.home-service-summary h2 { font-size: 1.15rem; margin-block: 4px; }
.home-page .split {
 grid-template-columns: minmax(0, 1fr);
 gap: 20px;
 align-items: start;
 padding: 20px 0;
}
.home-page .split > img, .home-page .split > a > img {
 display: block;
 max-height: none;
 border-radius: 12px;
}
.home-feature > a > img { aspect-ratio: 4 / 3; }
.home-page .home-service > img, .home-page .home-rome > img { height: 260px; }
.home-simulator > img { aspect-ratio: 16 / 9; }
.home-story > img { aspect-ratio: 2 / 1; }
@media (min-width: 640px) {
 .home-banner { width: calc((100% - 40px) * .7); }
}
@media (min-width: 768px) {
 .home-page .split {
  grid-template-columns: minmax(0, 46%) minmax(0, 1fr);
  gap: 32px;
  padding: 24px 0;
 }
 .home-feature > a > img { aspect-ratio: auto; height: 280px; }
 .home-page .home-service > img, .home-page .home-rome > img { height: 440px; }
}
@media (min-width: 1024px) {
 .home-layout {
  grid-template-columns: minmax(0, 27%) minmax(0, 1fr);
  gap: 24px;
  padding: 32px 10px 24px 0;
 }
 .home-machine { position: sticky; top: 24px; }
 .home-machine img { width: 80%; }
 .home-sections { margin-left: calc(-1 * clamp(110px, 13vw, 176px)); }
 .home-introduction { padding-left: clamp(112px, 11vw, 148px); }
}

/* Shop uses the original poster above the calculator listing. */
main:has(> .shop-page) {
 max-width: 1534px;
 padding: 0 16px 60px;
}
.shop-page { overflow-x: clip; }
.shop-intro {
 display: grid;
 gap: 20px;
 padding-top: 8px;
}
.shop-poster {
 position: relative;
 z-index: 40;
 align-self: start;
 width: min(58%, 230px);
 margin: 0 auto;
}
.shop-poster img {
 display: block;
 width: 100%;
 height: auto;
 border-radius: 12px;
 box-shadow: 0 24px 55px -14px rgb(0 0 0 / 45%);
 transform: translateY(var(--shop-poster-y, 0px)) rotate(-10deg);
 animation: shop-poster-entry 1.2s cubic-bezier(.22,1,.36,1) backwards;
 transition: scale .6s ease-out;
}
@keyframes shop-poster-entry {
 from { opacity: 0; scale: .96; }
 to { opacity: 1; scale: 1; }
}
@media (hover: hover) {
 .shop-poster img:hover { scale: 1.02; }
}
body:has(.shop-page) > header:has(#nav.open) { z-index: 50; }
.shop-intro-copy h1 {
 margin: 0 0 12px;
 font-size: clamp(24px, 2.5vw, 32px);
 line-height: 1.25;
}
.shop-intro-copy > p { color: var(--muted); }
.shop-page .product-grid {
 grid-template-columns: repeat(2, minmax(0, 1fr));
 gap: 12px;
}
.shop-page .product-image { overflow: hidden; }
.shop-page .product-image img {
 display: block;
 width: 100%;
 height: auto;
 aspect-ratio: 4 / 5;
 object-fit: cover;
}
.shop-page .product-image img.card-image-contain { object-fit: contain; }
@media (min-width: 1024px) {
 .shop-intro {
  grid-template-columns: minmax(0, 24%) minmax(0, 1fr);
  gap: clamp(54px, 10.4vw, 140px);
  align-items: start;
 }
 .shop-poster { width: 100%; margin: 0; }
 .shop-poster img { translate: 16% 0; }
 .shop-intro-copy { padding-top: 14px; }
 .shop-page .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
}
@media (prefers-reduced-motion: reduce) {
 .shop-poster img, .shop-poster img:hover { animation: none; transition: none; scale: 1; }
}

.accessory-filters {
 display: flex;
 flex-wrap: wrap;
 gap: 8px;
 margin-top: 20px;
}
.accessory-filters button {
 min-height: 40px;
 padding: 6px 14px;
 border: 1px solid var(--line);
 border-radius: 0;
 background: transparent;
 color: var(--muted);
 font-size: .85rem;
 letter-spacing: .06em;
}
.accessory-filters button:hover { border-color: var(--ink); color: var(--ink); }
.accessory-filters button[aria-pressed="true"] {
 border-color: var(--ink);
 background: var(--ink);
 color: #fff;
}
.accessory-filters + .product-grid { margin-top: 12px; }
.accessories-page .product-card[hidden] { display: none; }
@media (min-width: 1024px) {
 .accessories-page .shop-poster { width: 80%; margin-inline: auto; }
}

/* Swiss repair page: parts banner, numbered service process, then the request. */
main:has(> .revision-page) {
 max-width: 1280px;
 padding: 0 24px 64px;
}
.revision-parts {
 display: block;
 width: 100%;
 height: auto;
 margin: 18px auto 14px;
}
.revision-page > h1 {
 margin: 0 0 32px;
 color: var(--deep);
 font: 400 clamp(20px, 3vw, 30px)/1.3 Jost, sans-serif;
 text-align: center;
}
.revision-process {
 padding: 0 0 28px;
 border-bottom: 1px solid var(--line);
}
.revision-process h2 {
 margin: 0 0 18px;
 color: var(--muted);
 font-size: .85rem;
 font-weight: 500;
 letter-spacing: .15em;
 text-align: center;
}
.revision-process ol {
 list-style: none;
 padding: 0;
 margin: 0;
 display: grid;
 grid-template-columns: repeat(2, minmax(0,1fr));
 gap: 16px;
}
.revision-process li {
 display: grid;
 gap: 6px;
 color: var(--muted);
 font-size: .85rem;
}
.revision-step-number {
 display: flex;
 align-items: center;
 gap: 8px;
 font-variant-numeric: tabular-nums;
}
.revision-step-number::after {
 content: '';
 flex: 1;
 border-top: 1px solid var(--line);
}
.revision-record { max-width: 768px; margin-inline: auto; padding-block: 26px; text-align: center; }
.rome-heading {
 display: flex;
 align-items: center;
 gap: 12px;
}
.revision-record .rome-heading {
 justify-content: center;
 font-size: 1.35rem;
}
.rome-badge {
 position: relative;
 flex: none;
 width: 32px;
 height: 32px;
 margin-inline: 7px;
 border: 2px solid white;
 border-radius: 50%;
 background: #900;
 overflow: hidden;
 isolation: isolate;
 box-shadow: 0 1px 3px #0006;
}
.rome-badge img {
 position: absolute;
 inset: -25%;
 width: 150%;
 height: 150%;
 max-width: none;
 object-fit: cover;
 filter: brightness(1.6) contrast(1.1);
 mix-blend-mode: screen;
}
.revision-page .revision-form { width: 100%; max-width: 768px; margin: 0 auto; }
.revision-form > h2, .revision-form > p { text-align: center; }
.repair-photos { margin-block: 18px; }
.repair-photos .photo-drop {
 position: relative;
 display: grid;
 justify-items: center;
 gap: 4px;
 padding: 20px 12px;
 min-height: 124px;
 border: 1px dashed var(--line);
 border-radius: 6px;
 color: var(--muted);
 text-align: center;
 cursor: pointer;
}
.photo-drop input[type="file"] {
 position: absolute;
 inset: 0;
 width: 100%;
 height: 100%;
 margin: 0;
 opacity: 0;
 cursor: pointer;
}
.photo-drop:hover, .photo-drop.is-dragging, .photo-drop:focus-within {
 border-color: var(--deep);
 background: var(--pale);
}
.photo-drop-icon { font-size: 24px; line-height: 1; }
#repair-photo-status:empty, #repair-draft-status:empty, #repair-photo-list:empty { display: none; }
#repair-photo-list { list-style: none; padding: 0; }
#repair-photo-list li {
 display: flex;
 justify-content: space-between;
 align-items: center;
 gap: 12px;
 padding: 6px 0;
 border-bottom: 1px solid var(--line);
}
#repair-photo-list span { overflow-wrap: anywhere; }
#repair-photo-list button { flex: none; padding: 5px 12px; }
@media (min-width: 640px) {
 .revision-parts { width: 78%; }
 .revision-process ol { grid-template-columns: repeat(6, minmax(0,1fr)); }
}
