/* Shared finishing touches. Photography, crops and the core colour palette stay in their page styles. */
:root{--focus-ring:2px solid var(--lime);--ease-out:cubic-bezier(.2,.7,.2,1)}
body{text-rendering:optimizeLegibility}
::selection{background:var(--lime);color:var(--black)}
:where(a,button,input,select,textarea,summary):focus-visible{outline:var(--focus-ring);outline-offset:4px}
button,a,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}
button{touch-action:manipulation}
button:disabled{cursor:not-allowed}
[hidden]{display:none!important}
.skip-link{position:fixed;z-index:10001;top:12px;left:16px;padding:13px 20px;border-radius:6px;background:var(--lime);color:var(--black);font-size:13px;font-weight:600;transform:translateY(-180%)}
.skip-link:focus{transform:translateY(0)}
main:focus{outline:none}

/* An uncluttered header, with a comfortable target for every control. */
.site-header{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);padding-inline:clamp(16px,1.8vw,28px)}
.site-header .brand{grid-column:2;justify-self:center}
.detail-page .site-header{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}
.order-header .brand{grid-row:1}
.order-header .order-help{grid-column:3;grid-row:1;justify-self:end;display:inline-flex;align-items:center;min-height:44px;font-size:11px;color:var(--muted)}
.order-header .order-help:hover{color:var(--lime)}
.site-header .header-actions{grid-column:3;min-width:0;gap:18px}
.site-header .menu-toggle{width:44px;height:44px;justify-content:center;align-items:center;padding:0;border-radius:8px}
.site-header .header-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;white-space:nowrap;font-size:11px}
.site-header .login-link{padding:0 13px;border-radius:6px}
.site-header .bag{gap:6px;min-width:44px}
.site-header .bag-count{display:inline-block;min-width:1ch;margin:0;font-variant-numeric:tabular-nums}
.site-header .nav-left a{min-height:48px;font-size:12px;line-height:1.3}
.site-header .nav-left a[aria-current="page"]{font-weight:600;color:var(--bone)}
.site-header .nav-left a:hover,.site-header .nav-left a:focus-visible{background:#ffffff08;color:var(--bone)}
.site-header .nav-left a:focus-visible{outline:1px solid #ffffff55;outline-offset:-2px}
.site-header .nav-left:before{font-size:9px;letter-spacing:.16em}
.announcement{font-size:10px;letter-spacing:.025em}
.announcement.is-dismissed{visibility:hidden}
.announcement-close{width:30px;height:30px}

/* Home: readable supporting copy and a deliberate rhythm between sections. */
.home-page .hero-copy>p:not(.eyebrow){font-size:14px;line-height:1.8;max-width:38ch}
.home-page .hero-copy .eyebrow{font-size:10px;letter-spacing:.16em}
.home-page .home-intro{padding-block:clamp(76px,8vw,116px)}
.home-page .home-intro h2{max-width:22ch;margin-inline:auto;text-wrap:balance}
.home-page .home-intro>p:last-child{font-size:14px;line-height:1.75;max-width:48ch;margin-inline:auto}
.home-page .doorways-heading{margin-bottom:26px}
.home-page .doorways-heading .eyebrow{font-size:10px}
.home-page .doorways-heading>span{font-size:9px;line-height:1.8}
.home-page .home-story-copy{padding:clamp(40px,5vw,72px) clamp(28px,5vw,72px)}
.home-page .home-story-copy h2{font-size:clamp(44px,5.2vw,72px);line-height:1;max-width:9ch;margin-bottom:24px;text-wrap:balance}
.home-page .home-story-copy>p:not(.eyebrow){font-size:13px;line-height:1.85;max-width:42ch;margin-bottom:20px}
.home-page .home-story-copy .eyebrow{font-size:10px;line-height:1.7}
.home-page .home-story-copy .text-link{align-self:flex-start;min-height:44px;display:inline-flex;align-items:center;font-size:12px;padding:10px 0;margin-top:4px}
.home-page .newsletter{gap:clamp(30px,5vw,80px);padding-block:clamp(72px,8vw,108px)}
.newsletter-form-wrap>p{font-size:13px;line-height:1.8;max-width:40ch;margin-bottom:24px}
.newsletter-trigger{min-height:58px;padding:16px 20px;font-size:13px;font-weight:500;border:1px solid #45483b;border-radius:10px;background:linear-gradient(135deg,#202219,#181a14);box-shadow:0 4px 16px #0002;transition:color .2s,border-color .2s,background .2s,box-shadow .2s}
.newsletter-trigger:hover{border-color:var(--lime);background:#24291a;box-shadow:0 4px 20px #d5ff3f0a}
.newsletter-trigger:focus-visible{outline:2px solid var(--lime);outline-offset:4px}
.newsletter-form-wrap small{margin-top:14px;font-size:10px;color:#a4a69b;line-height:1.6}
.home-page .shipping{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding-block:56px 60px;align-items:stretch}
.home-page .shipping>div{grid-column:1/-1;margin-bottom:10px}
.home-page .shipping .eyebrow{font-size:10px;margin-bottom:12px}
.home-page .shipping h2{font-size:clamp(32px,3.5vw,42px)}
.home-page .shipping>a{min-height:96px;padding:22px 20px;column-gap:14px;grid-template-rows:auto;border-radius:8px}
.home-page .shipping>a>span:first-child,.home-page .shipping>a>span:nth-child(2){grid-row:1}
.home-page .shipping>a strong{font-size:13px;line-height:1.5}
.home-page .shipping>a small{font-size:11px;line-height:1.7}

/* A consistent footer with balanced alignment and useful, touchable links. */
footer{padding:32px 6.4% 24px;display:grid;gap:18px}
.footer-top{display:grid;grid-template-columns:1fr auto 1fr;gap:20px;align-items:center;padding-bottom:0}
.footer-top>.brand{justify-self:start}
.footer-top>p{margin:0;text-align:center;font-size:14px;line-height:1.5;color:#c1c2b9}
.footer-top>.back-top{justify-self:end;display:inline-flex;align-items:center;min-height:44px;font-size:11px;transition:color .2s}
.back-top:hover{color:var(--lime)}
.footer-bottom{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px;padding-top:0;font-size:10px;line-height:1.6}
.footer-bottom div{justify-content:center;gap:22px;flex-wrap:wrap}
.footer-bottom div a{display:inline-flex;align-items:center;min-height:36px;color:#b0b2a6;transition:color .2s}
.footer-bottom small{justify-self:end;font-size:10px}

/* Shared bag and forms. */
.side-panel.bag-panel{width:min(460px,100%);padding:28px;overscroll-behavior:contain}
.bag-panel .panel-head{flex-shrink:0;font-size:23px;padding-bottom:19px}
.bag-panel .panel-close{width:40px;height:40px;flex-shrink:0}
.bag-panel .bag-items{min-height:0;flex:1;overscroll-behavior:contain}
.bag-panel .bag-items:empty{display:none}
.bag-panel .bag-item{padding-block:22px;align-items:start;gap:16px}
.bag-panel .bag-item strong{font-size:13px;line-height:1.5}
.bag-panel .bag-item small{font-size:11px;line-height:1.6}
.bag-panel .bag-item>span{font-size:12px;line-height:1.5;white-space:nowrap;font-variant-numeric:tabular-nums}
.bag-item-name:hover{color:var(--lime)}
.bag-remove{min-height:32px;margin:4px 0 -6px;padding:5px 0;background:none;border:0;color:#b7b9ae;font-size:10px;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.bag-remove:hover{color:var(--bone)}
.bag-panel .bag-empty{margin:auto;flex-shrink:0;padding:38px 24px}
.bag-panel .bag-empty p{font-size:21px;line-height:1.3;letter-spacing:-.03em}
.bag-panel .continue-shopping{min-height:48px;font-size:12px}
.bag-panel .bag-summary{flex-shrink:0;margin-top:20px;padding-top:20px}
.bag-panel .bag-summary>p{font-size:14px;line-height:1.5}
.bag-panel .bag-summary small{display:block;font-size:11px;line-height:1.8;color:#b3b5a9}
.bag-panel .checkout-button{display:flex;align-items:center;justify-content:center;min-height:50px;border-radius:6px;font-size:12px;letter-spacing:.02em}
.bag-panel .checkout-message{font-size:11px;color:#f0b9ab;line-height:1.6;overflow-wrap:anywhere}
.bag-panel .checkout-message:empty{display:none}
.bag-panel .checkout-button:disabled{opacity:.6}
.toast{max-width:calc(100% - 32px);width:max-content;border:1px solid #ffffff15;border-radius:7px;box-shadow:0 8px 30px #0004;text-align:center;font-size:12px;line-height:1.5;padding:13px 20px;bottom:calc(22px + env(safe-area-inset-bottom,0px))}
body.newsletter-open{overflow:hidden}
.newsletter-dialog{border-radius:12px;padding:50px 40px 34px}
.newsletter-dialog-close{width:38px;height:38px;top:14px;right:14px}
.newsletter-dialog-copy{font-size:13px;line-height:1.8;max-width:38ch;margin-bottom:26px}
.newsletter-dialog .signup{min-height:54px;align-items:stretch}
.newsletter-dialog .signup:focus-within{border-color:var(--lime)}
.newsletter-dialog .signup input{font-size:16px;padding:14px 0;box-shadow:none}
.newsletter-dialog .signup input:focus{border-bottom:0}
.newsletter-dialog .signup button{font-size:12px;min-width:76px}
.newsletter-dialog .form-message{font-size:12px;line-height:1.7;margin-top:14px}
.newsletter-consent{font-size:10px;line-height:1.7;color:#a3a599}
.support-form-message{margin:14px 0 0;font-size:12px;line-height:1.7;color:var(--lime)}
.support-form-message.is-error{color:#f0b9ab}
.support-form-message:empty{display:none}
.support-page main [id]{scroll-margin-top:0}
.account-panel{border-radius:12px}
.account-copy{font-size:13px;line-height:1.85;max-width:45ch}
.account-actions .button{min-height:48px;font-size:12px;border-radius:6px}
.account-note{font-size:9px;line-height:1.7}
.order-thanks p:not(.eyebrow){font-size:14px;line-height:1.9}
.order-thanks .button{min-height:48px;font-size:12px}
.stock-page input,.stock-page select{font-size:16px}

@media(max-width:900px){
  .detail-page .site-header .back-shop{display:none}
  .home-page .shipping{gap:12px;padding-inline:6%}
  .home-page .shipping>a{padding:18px 14px;grid-template-columns:1fr;gap:12px}
  .home-page .shipping>a>span:first-child{grid-column:1;grid-row:1}
  .home-page .shipping>a>span:nth-child(2){grid-column:1;grid-row:2}
  .footer-bottom{align-items:flex-start}
  .footer-bottom div{gap:18px}
}
@media(max-width:620px){
  .site-header{padding-inline:16px}
  .site-header .header-actions{gap:10px}
  .site-header .header-actions a{font-size:11px;min-height:40px}
  .site-header .login-link{padding-inline:10px}
  .site-header .menu-toggle{display:flex;border:1px solid #ffffff1b;background:#ffffff03;flex-direction:column;gap:5px}
  .site-header .nav-left,.detail-page .site-header.detail-header .nav-left{position:absolute;inset:100% 0 auto;max-height:calc(100dvh - 90px);overflow-y:auto;padding:12px 16px 18px;gap:3px;border-bottom:1px solid var(--line);background:#171813;box-shadow:0 18px 36px #0005;align-items:stretch}
  .site-header .nav-left a,.detail-page .site-header.detail-header .nav-left a{display:flex;align-items:center;min-height:48px;padding:0 14px;font-size:13px}
  .announcement{font-size:8px;gap:6px;padding-inline:16px 38px}
  .announcement-close{width:30px;height:30px;right:3px}
  .home-page .hero-copy>p:not(.eyebrow){font-size:13px;max-width:33ch}
  .home-page .home-intro{padding:70px 6%}
  .home-page .home-intro h2{font-size:clamp(34px,9.6vw,44px);line-height:1.12}
  .home-page .home-intro>p:last-child{font-size:13px;max-width:30ch}
  .home-page .doorways-heading{margin-bottom:22px;gap:16px}
  .home-page .doorways-heading .eyebrow{font-size:9px}
  .home-page .doorways-heading>span{font-size:8px}
  .home-page .home-story-copy{padding:44px 7% 40px}
  .home-page .home-story-copy>p:not(.eyebrow){font-size:13px;line-height:1.85}
  
  .home-page .newsletter{padding:64px 7%;gap:28px}
  .newsletter-form-wrap>p{font-size:13px;margin-bottom:18px}
  .home-page .shipping{padding:44px 7% 46px;grid-template-columns:1fr;gap:12px}
  .home-page .shipping>div{margin-bottom:14px}
  .home-page .shipping>a{grid-template-columns:34px minmax(0,1fr);padding:20px;gap:14px;min-height:0}
  .home-page .shipping>a>span:first-child{grid-column:1;grid-row:1}
  .home-page .shipping>a>span:nth-child(2){grid-column:2;grid-row:1}
  .home-page .shipping>a small{font-size:12px}
  footer{padding:28px 6% 20px;gap:16px}
  .footer-top{grid-template-columns:1fr auto;gap:12px;padding-bottom:0}
  .footer-top>.back-top{grid-column:2;grid-row:1;font-size:11px}
  .footer-top>p{grid-column:1/-1;grid-row:2;text-align:left;font-size:13px;color:#a7a99d}
  .footer-bottom{display:grid;grid-template-columns:1fr auto;gap:14px;font-size:10px}
  .footer-bottom>div{grid-row:2;grid-column:1/-1;width:auto;justify-content:flex-start;gap:8px 22px}
  .footer-bottom>small{grid-column:2;grid-row:1;white-space:nowrap}
  .footer-bottom div a{min-height:40px;font-size:11px}
  .side-panel.bag-panel{width:100%;padding:22px 20px calc(20px + env(safe-area-inset-bottom,0px));border-radius:0;border-left:0}
  .bag-panel .panel-head{font-size:22px}
  .newsletter-dialog{width:calc(100% - 28px);max-height:calc(100dvh - 28px);padding:52px 24px 30px}
  .newsletter-dialog h2{font-size:44px}
  .newsletter-dialog-copy{font-size:13px}
  .account-copy{font-size:13px}
}
@media(max-width:370px){
  .site-header{padding-inline:12px}
  .site-header .brand{font-size:12px;gap:6px}
  .site-header .header-actions{gap:6px}
  .site-header .header-actions a{font-size:10px}
  .site-header .login-link{padding-inline:8px}
  .announcement{font-size:7px;gap:4px}
  .home-page .doorways-heading>span{display:none}
}
@media(prefers-reduced-motion:reduce){
  .skip-link{transition:none}
}
.listing-stock{margin:12px 0 10px;min-height:0}.listing-stock:empty{display:none}.collection-grid .listing-stock-note{margin-bottom:0}.listing-stock-note{display:block;margin-bottom:10px;color:#a5aa98;font-size:11px;letter-spacing:.03em}.listing-stock-note.listing-sold-out{color:#e5cbaa}.listing-sizes{display:flex;flex-wrap:wrap;gap:6px}.listing-size{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:44px;min-height:46px;padding:6px 8px;border:1px solid #ffffff26;border-radius:7px;background:#ffffff04;color:var(--bone);font:500 12px var(--sans);text-decoration:none}.listing-size:hover,.listing-size:focus-visible{border-color:var(--lime);color:var(--lime);background:#d5ff3f0c}.listing-size.sold-out{border-style:dashed;background:transparent;color:#919687;cursor:not-allowed;opacity:1}.listing-size.sold-out span{text-decoration:line-through;text-decoration-color:#b5bba080}.listing-size small{font-size:8px;line-height:1.2;font-weight:400}.detail-page .detail-info .size-option{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:64px;height:auto;padding:10px;border-radius:8px}.detail-page .detail-info .size-option small{font:400 9px/1.2 var(--sans);letter-spacing:0}.detail-page .detail-info .size-option.sold-out{border-style:dashed;color:#969c8b;background:#ffffff03;opacity:1;cursor:not-allowed}.detail-page .detail-info .size-option.sold-out>span{text-decoration:line-through}.detail-page .detail-info .size-option.sold-out small{color:#b4b8ac;text-decoration:none}.detail-page .detail-info .size-option.selected small{color:inherit}
.collection-loading{grid-column:1/-1;padding:44px 0;color:#b5baab;font:400 14px/1.6 var(--sans)}
/* Keep the full front-and-back track set visible in narrow listing frames. */
.product-image img[src*="product-women-contour-track"],
.detail-product-image[src*="product-women-contour-track"]{object-fit:contain;background:#fff;filter:none}
.detail-page .detail-front-view{display:block;width:100%;height:100%;background:#fff;filter:none;overflow:hidden;padding:24px;box-sizing:border-box}
.collection-page .product-image .collection-front-view{display:block;width:100%;height:100%;background:#fff;padding:24px;box-sizing:border-box;overflow:hidden;transition:transform .4s ease}.collection-page .product-image:hover .collection-front-view{transform:scale(1.025)}@media(prefers-reduced-motion:reduce){.collection-page .product-image .collection-front-view{transition:none}.collection-page .product-image:hover .collection-front-view{transform:none}}
html[data-gender="men"] .collection-grid[data-active-filter="all"] .product-card[data-sku="m-overshirt"]{grid-column:1;grid-row:1}html[data-gender="men"] .collection-grid[data-active-filter="all"] .product-card[data-sku="m-studio-trouser"]{grid-column:1;grid-row:2}
html[data-gender="women"] .collection-grid[data-active-filter="all"] .product-card[data-sku="w-zip-jacket"]{grid-column:1;grid-row:1}html[data-gender="women"] .collection-grid[data-active-filter="all"] .product-card[data-sku="w-wide-trouser"]{grid-column:1;grid-row:2}
.collection-page .product-image img[src*="product-men-contour-track-jacket"]{object-fit:contain;object-position:50% 50%;background:#fff;transform:scale(.98)}.collection-page .product-image:hover img[src*="product-men-contour-track-jacket"]{transform:scale(1)}.detail-page .detail-product-image[src*="product-men-contour-track-jacket"]{object-fit:contain;object-position:50% 50%;background:#fff}
.collection-page .product-card:has(.product-image img[src*="product-men-contour-track-jacket"]) .product-image{background:#fff}.collection-page .product-image img[src*="product-men-contour-track-jacket"]{transform:translateX(4.8%)}.collection-page .product-image:hover img[src*="product-men-contour-track-jacket"]{transform:translateX(4.8%) scale(1.015)}.detail-page .detail-image:has(.detail-product-image[src*="product-men-contour-track-jacket"]){background:#fff}.detail-page .detail-product-image[src*="product-men-contour-track-jacket"]{transform:translateX(4.8%)}.detail-page .detail-image:hover .detail-product-image[src*="product-men-contour-track-jacket"]{transform:translateX(4.8%) scale(1.018)}@media(prefers-reduced-motion:reduce){.collection-page .product-image img[src*="product-men-contour-track-jacket"]{transform:translateX(4.8%)}.collection-page .product-image:hover img[src*="product-men-contour-track-jacket"]{transform:translateX(4.8%)}}

/* Understated collection labels keep the clothing in focus. */
.collection-page .product-tag{top:10px;left:10px;padding:4px 7px;background:rgba(17,18,15,.86);color:#eeede5;border:1px solid rgba(238,237,229,.14);border-radius:3px;font-size:7px;font-weight:500;line-height:1.3;letter-spacing:.08em;box-shadow:none}
@media(max-width:620px){.collection-page .product-tag{top:8px;left:8px;padding:3px 6px;font-size:6px}}

/* Quiet signature on individual product photographs. */
.detail-page .detail-image-note{right:12px;bottom:40px;gap:6px;padding:5px 8px;border:1px solid rgba(238,237,229,.14);border-radius:3px;background:rgba(17,18,15,.86);color:#eeede5;font-size:7px;font-weight:500;line-height:1.3;letter-spacing:.08em;backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:none}
.detail-page .detail-image-note img{width:12px;height:16px;opacity:.85}
@media(max-width:620px){.detail-page .detail-image-note{right:10px;bottom:35px;padding:4px 7px;font-size:6px}}

/* Collection preview context, with the same quiet editorial treatment. */
.collection-page .collection-preview-note{max-width:640px;margin:0 0 26px;color:var(--muted);font-size:12px;line-height:1.8}
.detail-page .detail-development-note{margin:0 0 22px;padding:12px 0;color:var(--muted);font-size:11px;line-height:1.7;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.detail-development-note span{display:block;margin-bottom:4px;color:var(--bone);font-size:9px;letter-spacing:.1em;text-transform:uppercase}

/* Stock-room product previews and clearer local-mode context. */
.stock-preview-link{display:inline-block;margin-top:8px;color:var(--bone);font-size:11px;text-decoration:underline;text-underline-offset:4px}.stock-preview-link:hover{color:var(--lime)}
.stock-local-note a{display:inline-block;margin-left:8px;color:var(--bone);text-decoration:underline;text-underline-offset:3px}
.stock-product{transition:border-color .2s,box-shadow .2s}.stock-product:focus-within{border-color:#89935c;box-shadow:0 0 0 1px #89935c22}
#refresh-orders{margin-bottom:18px;cursor:pointer}#refresh-orders:disabled{opacity:.5;cursor:wait}

/* Navy Contour editorial: keep the face and jacket within narrow crops. */
.home-story-image img[src*="editorial-story-navy-tracksuit"]{object-position:50% 38%}
.story-page .story-hero-image[src*="editorial-story-navy-tracksuit"]{object-position:50% 30%}
@media(max-width:620px){.home-story-image img[src*="editorial-story-navy-tracksuit"]{object-position:50% 35%}.story-page .story-hero-image[src*="editorial-story-navy-tracksuit"]{object-position:48% 50%}}

/* Preserve the forest-green fabric colour in the story illustration. */
.story-page .story-approach-image img[src*="story-craft-cutting-green"]{filter:none;object-position:50% 45%}
/* Keep the original box-tee photographs fully framed. */
.collection-page .product-image img[src*="product-men-box-tee-"],.detail-page .detail-product-image[src*="product-men-box-tee-"],.related-products .product-image img[src*="product-men-box-tee-"]{object-fit:contain;object-position:50% 50%;background:#fff;filter:none}
.collection-page .product-image:has(img[src*="product-men-box-tee-"]),.detail-page .detail-image:has(img[src*="product-men-box-tee-"]){background:#fff}

/* Teal set sits beside the original set; each top has its own matching bottoms below. */
@media(min-width:621px){html[data-gender="men"] .collection-grid[data-active-filter="all"] .product-card[data-sku="m-panel-track-jacket"]{grid-column:2;grid-row:1}html[data-gender="men"] .collection-grid[data-active-filter="all"] .product-card[data-sku="m-panel-track-bottoms"]{grid-column:2;grid-row:2}}
.product-card[data-sku^="m-panel-track-"] .product-image{background:#fff}
.product-card[data-sku^="m-panel-track-"] .product-image img{object-fit:contain;object-position:center;padding:10px;box-sizing:border-box;transform:none}
.product-card[data-sku^="m-panel-track-"] .product-image:hover img{transform:scale(1.02)}
.detail-page .detail-product-image[src*="product-men-panel-track-"]{object-fit:contain;object-position:center;background:#fff}
