/* Libas Studio · boutique edition
   Shared visual refinements and the studio rack. No framework or build step. */

:root {
  --paper: #fbf9f5;
  --ink: #302925;
  --wine: #67192c;
  --gold: #aa8958;
  --line: #e5dfd6;
  --studio: #f1ede5;
}

::selection { background: #67192c1a; }
body { font-size: 14px; }
.announcement { letter-spacing: 1.7px; font-size: 9px; padding: 9px 16px; }
.header { background: #fbf9f5f5; }
.header-inner { height: 103px; }
.brand-logo { display: block; flex: 0 0 auto; width: 185px; }
.brand-logo img { width: 100%; height: auto; mix-blend-mode: multiply; }
.navigation { gap: 30px; font-size: 12px; }
.navigation > a, .women-menu > summary { transition: color .2s; }
.header-actions { gap: 13px; }
.eyebrow { font-size: 10px; letter-spacing: 2.1px; }
.chapter-number { color: var(--gold); padding-right: 15px; margin-right: 14px; border-right: 1px solid #aa895870; }
.button { min-height: 54px; padding: 16px 25px; letter-spacing: .9px; }
.button-primary { box-shadow: 0 5px 15px #67192c0a; }
.round-button {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #bcb0a1;
  border-radius: 50%;
  color: var(--wine);
  transition: background .2s, border-color .2s, color .2s;
}
.round-button svg { width: 21px; height: 21px; stroke-width: 1.2; }
.round-button:hover:not(:disabled) { color: var(--paper); background: var(--wine); border-color: var(--wine); }
.round-button:disabled { opacity: .3; }

/* Editorial hero */
.hero { min-height: 650px; grid-template-columns: 1.02fr 1fr; }
.hero-copy { padding: 65px 8% 30px 10.8%; }
.hero-copy .eyebrow { margin-bottom: 28px; font-size: 9px; letter-spacing: 1.8px; }
.hero h1 { font-size: clamp(66px, 7.2vw, 108px); line-height: .92; letter-spacing: -3.8px; }
.hero h1 em { display: inline-block; font-size: 1.1em; line-height: 1; margin-top: 0; padding-right: 10px; }
.hero-copy > p { margin-top: 25px; font-size: 13px; line-height: 1.95; }
.hero-links { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 28px; }
.hero-links .button { margin: 0; gap: 28px; }
.hero-secondary { display: inline-flex; align-items: center; gap: 15px; font-size: 11px; padding: 12px 0; border-bottom: 1px solid #c4b8a7; }
.hero-secondary:hover { color: var(--wine); border-color: var(--wine); }
.hero-edition { margin-top: auto; padding-top: 35px; align-items: center; }
.hero-edition .edition-mark { display: block; font-family: var(--serif); font-size: 25px; color: var(--gold); letter-spacing: -1px; }
.hero-edition > span:last-child { font-size: 7px; letter-spacing: 1.4px; line-height: 1.8; }
.hero-visual { min-height: 650px; background: #e9e4db; }
.hero-arch { position: absolute; inset: 35px 9% 40px 13%; border: 1px solid #b4a183; border-radius: 50% 50% 0 0; }
.hero-photo { inset: 48px 12% 54px 18%; background: #f8f8f8; border-radius: 48% 48% 0 0; box-shadow: 0 18px 36px #4a352d0e; }
.hero-photo img {
  height: 116%;
  width: auto;
  right: 26%;
  top: -14%;
  transform: none;
  /* Isolate the right-hand silhouette visually; the gallery retains the full campaign. */
  clip-path: inset(0 0 0 55.5%);
}
.vertical-caption { left: 5%; top: 66px; letter-spacing: 2px; font-size: 8px; color: #655846; }
.hero-article { left: 5%; bottom: 28px; width: 265px; padding: 22px 26px; background: #67192cf5; }
.hero-article strong { font-size: 32px; margin: 12px 0 20px; }
.hero-article > span { font-size: 7px; letter-spacing: 1.5px; }
.hero-image-number { right: 20px; bottom: 20px; color: #75634f; font-size: 8px; letter-spacing: 1.5px; }

/* The studio rack: a quiet brass rail with hanging campaign portraits. */
.studio-rack { padding: 85px 0 28px; background: var(--studio); overflow: hidden; border-top: 1px solid #e8e1d7; }
.rack-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 35px; margin-bottom: 40px; }
.rack-heading .eyebrow { color: var(--muted); margin-bottom: 15px; }
.rack-heading h2 { font-size: clamp(48px, 5vw, 76px); letter-spacing: -2px; }
.rack-intro { display: flex; gap: 40px; align-items: center; padding-bottom: 3px; }
.rack-intro p { color: #756b5f; font-size: 12px; line-height: 1.9; }
.rack-navigation { display: flex; gap: 9px; }
.rack-stage { position: relative; }
.rack-rail {
  position: absolute;
  top: 29px;
  left: 3%;
  right: 3%;
  height: 4px;
  border-radius: 3px;
  background: linear-gradient(180deg, #ddcba8 0%, #aa8958 42%, #92764d 70%, #c4a578 100%);
  box-shadow: 0 3px 5px #69513912;
  pointer-events: none;
}
.rack-rail::before, .rack-rail::after { content: ''; position: absolute; width: 9px; height: 9px; border: 1px solid #ad9065; border-radius: 50%; background: #d3bd97; top: -3px; }
.rack-rail::before { left: 0; }
.rack-rail::after { right: 0; }
.rack-viewport {
  position: relative;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 5.5%;
  scrollbar-width: none;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
  touch-action: pan-x pan-y;
}
.rack-viewport::-webkit-scrollbar { display: none; }
.rack-viewport:focus-visible { outline-offset: -5px; }
.rack-viewport.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.rack-track { display: flex; gap: 34px; width: max-content; padding: 0 5.5vw 28px; }
.rack-card { width: clamp(245px, 26vw, 360px); flex: 0 0 auto; scroll-snap-align: start; }
.rack-hanging {
  position: relative;
  display: block;
  padding-top: 105px;
  transform-origin: 50% 29px;
  transform: rotate(var(--sway, 0deg));
  transition: transform .65s cubic-bezier(.2, .8, .2, 1);
}
.rack-hanging:hover, .rack-hanging:focus-visible { --sway: 1.8deg; }
.is-dragging .rack-hanging { transition: transform .15s ease-out; }
.rack-hanger { position: absolute; width: 188px; height: 106px; top: 9px; left: 50%; transform: translateX(-50%); stroke: #a68a60; stroke-width: 1.65; filter: drop-shadow(0 2px 1px #715b3620); pointer-events: none; }
.rack-portrait { display: block; padding: 7px; background: #fcfaf6; box-shadow: 0 9px 16px #3d2d2010, 0 1px 3px #3d2d2010; position: relative; }
.rack-portrait::before, .rack-portrait::after { content: ''; position: absolute; top: -4px; width: 10px; height: 16px; border: 1px solid #ac936c; border-radius: 2px; background: linear-gradient(90deg, #d6c2a1, #b99b70, #e1cfb0); z-index: 1; }
.rack-portrait::before { left: 18%; }
.rack-portrait::after { right: 18%; }
.rack-portrait img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: contain; pointer-events: none; }
.rack-open { position: absolute; right: 17px; bottom: 17px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fbf9f5ee; color: var(--wine); font-size: 20px; box-shadow: 0 2px 5px #00000008; transition: background .2s, color .2s; }
.rack-hanging:hover .rack-open { background: var(--wine); color: white; }
.rack-caption { padding: 21px 5px 4px; }
.rack-caption-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 8px; letter-spacing: 1.4px; color: #89765c; }
.rack-caption h3 { font-size: 29px; margin: 9px 0 8px; line-height: 1.1; letter-spacing: -.3px; }
.rack-caption h3 a:hover { color: var(--wine); }
.rack-caption-colour { font-size: 11px; display: flex; align-items: center; gap: 8px; color: var(--muted); }
.rack-caption-price { color: var(--wine); font-size: 11px; margin-top: 8px; }
.rack-caption-price:empty { display: none; }
.rack-foot { display: flex; gap: 25px; align-items: center; padding-top: 17px; padding-bottom: 0; }
.rack-foot > p { display: flex; align-items: center; gap: 9px; color: #786b5b; font-size: 10px; }
.rack-foot > p > svg { width: 20px; height: 20px; margin-right: 2px; }
.rack-foot > p > span { margin: 0 3px; color: var(--gold); }
.rack-progress { position: relative; flex: 1; max-width: 140px; height: 2px; background: #d6cec0; margin-left: auto; overflow: hidden; }
.rack-progress span { display: block; height: 100%; width: 25%; background: var(--gold); transition: width .2s; }
.rack-status { font-size: 8px; letter-spacing: 1.1px; color: #786b5b; min-width: 85px; text-align: right; }

/* A calmer rhythm across the rest of the storefront. */
.editorial-strip { justify-content: center; gap: 7%; background: #fbf9f5; padding-top: 22px; padding-bottom: 22px; font-size: 8px; letter-spacing: 2.5px; }
.editorial-strip i { font-size: 15px; }
.collection { padding-top: 96px; padding-bottom: 78px; }
.section-heading { margin-bottom: 39px; }
.section-heading h2 { font-size: clamp(46px, 4.6vw, 68px); }
.collection-toolbar { border-top: 1px solid var(--line); margin-bottom: 32px; }
.category-tabs button { padding-top: 19px; padding-bottom: 18px; }
.product-grid { gap: 28px; }
.product-image-wrap { background: #eee9e1; border: 1px solid #e8e2d9; }
.product-tag { background: #fbf9f5ec; letter-spacing: 1.1px; }
.product-info { padding: 20px 2px 0; }
.product-info h3 { font-size: 28px; }
.product-meta { font-size: 8px; margin-bottom: 9px; }
.product-price:empty { display: none; }
.product-sizes { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 11px; letter-spacing: 2px; }
.story { margin: 0 5.5% 0; background: #eae7df; border: 1px solid #e5dfd5; }
.story-photo { max-height: 650px; }
.story-copy { padding-left: 13%; padding-right: 13%; }
.story-copy .eyebrow { font-size: 9px; }
.fit-section { padding-top: 95px; padding-bottom: 95px; }
.coming-section { padding-top: 85px; padding-bottom: 100px; }
.coming-card { min-height: 390px; padding: 29px; border: 1px solid #d1c7b955; }
.coming-card .coming-arrow { opacity: .5; }
.fragrance-card { background: #ebe1d6; }
.men-card { background: #e6e3d9; }

/* Brand signature and a light, understated footer. */
.footer { color: var(--ink); background: #eee9e0; border-top: 1px solid #dfd6c8; }
.footer-invitation { position: relative; padding-top: 50px; padding-bottom: 50px; border-bottom: 1px solid #d9cfc1; }
.footer-invitation > .eyebrow { color: #7d6b58; font-size: 8px; letter-spacing: 2px; }
.footer-invitation > p { font-family: var(--serif); font-size: clamp(50px, 5.5vw, 80px); letter-spacing: -1.5px; line-height: 1; margin-top: 22px; }
.footer-invitation > .round-button { position: absolute; right: 7%; top: 50%; width: 66px; height: 66px; font-size: 32px; }
.footer-main { padding-top: 48px; padding-bottom: 50px; }
.footer-main .brand-logo { width: 185px; margin-left: -12px; margin-top: -9px; margin-bottom: 15px; }
.footer-main .footer-brand > a.brand-logo { display: block; padding: 0; }
.footer-main .footer-brand p { color: #766b60; font-family: var(--sans); font-size: 12px; line-height: 1.9; }
.footer-main h2 { color: #7b6956; letter-spacing: 1.8px; }
.footer-main > div > a:not(.wordmark), .footer-main > div > button { color: #5e554b; }
.footer-main a:hover, .footer-main button:hover { color: var(--wine); }
.footer-bottom { color: #877969; border-color: #d9cfc1; }
.detail-copy .product-price:empty { display: none; }
.detail-copy .description { margin-top: 24px; }

@media (min-width: 1600px) {
  .hero, .hero-visual { min-height: 730px; }
  .hero-copy { padding-top: 85px; }
}

@media (max-width: 1100px) {
  .brand-logo { width: 160px; }
  .header-inner { height: 94px; }
  .navigation { gap: 23px; font-size: 11px; }
  .header-actions { gap: 6px; }
  .hero, .hero-visual { min-height: 630px; }
  .hero-copy { padding-top: 62px; padding-right: 5%; }
  .hero h1 { font-size: 83px; }
  .hero-links { gap: 16px; }
  .hero-links .button { font-size: 10px; padding: 15px 19px; gap: 20px; }
  .hero-secondary { font-size: 10px; }
  .hero-article { width: 230px; }
  .hero-article strong { font-size: 28px; }
  .hero-photo { right: 10%; left: 16%; }
  .rack-intro { gap: 25px; }
  .rack-intro p { font-size: 11px; }
  .rack-track { gap: 27px; }
  .rack-card { width: 29vw; }
  .rack-caption h3 { font-size: 27px; }
  .product-grid { gap: 21px; }
  .product-info h3 { font-size: 24px; }
}

@media (max-width: 800px) {
  .header-inner { height: 86px; }
  .header-inner > .brand-logo { margin-left: 20px; margin-right: auto; }
  .navigation { top: 86px; }
  .hero, .hero-visual { min-height: 580px; }
  .hero-copy { padding-top: 58px; }
  .hero h1 { font-size: 70px; letter-spacing: -2.5px; }
  .hero-copy > p { font-size: 11px; }
  .hero-copy > p br { display: none; }
  .hero-links { flex-direction: column; align-items: flex-start; gap: 9px; margin-top: 23px; }
  .hero-links .button { margin: 0; }
  .hero-edition > span:last-child { display: block; font-size: 6px; }
  .hero-edition .edition-mark { font-size: 22px; }
  .hero-article { width: 205px; padding: 20px; bottom: 26px; }
  .hero-article strong { font-size: 25px; }
  .hero-photo { right: 7%; left: 11%; inset-block: 45px 55px; }
  .hero-arch { left: 7%; right: 3%; }
  .vertical-caption { left: 2%; font-size: 6px; }
  .hero-image-number { font-size: 6px; right: 12px; bottom: 10px; }
  .studio-rack { padding-top: 61px; padding-bottom: 24px; }
  .rack-heading { align-items: flex-start; margin-bottom: 30px; }
  .rack-heading h2 { font-size: 56px; }
  .rack-heading .eyebrow { font-size: 8px; letter-spacing: 1.4px; }
  .rack-intro { flex-direction: column; align-items: flex-end; gap: 15px; }
  .rack-intro p { font-size: 10px; }
  .rack-navigation .round-button { width: 38px; height: 38px; }
  .rack-track { gap: 25px; }
  .rack-card { width: 36vw; min-width: 230px; }
  .rack-hanging { padding-top: 95px; }
  .rack-hanger { width: 170px; height: 96px; top: 10px; }
  .rack-foot { flex-wrap: wrap; gap: 18px; }
  .rack-foot > p { font-size: 9px; }
  .rack-foot > p > span { margin: 0; }
  .rack-progress { max-width: none; min-width: 60px; }
  .rack-status { font-size: 7px; }
  .editorial-strip { gap: 5%; font-size: 7px; }
  .collection { padding-top: 68px; padding-bottom: 58px; }
  .section-heading h2 { font-size: 50px; }
  .product-grid { gap: 35px 21px; }
  .product-info h3 { font-size: 29px; }
  .story { margin-left: 5.5%; margin-right: 5.5%; }
  .story-copy { padding: 36px 10%; }
  .fit-section { padding-top: 67px; padding-bottom: 67px; }
  .coming-section { padding-top: 62px; padding-bottom: 65px; }
  .coming-card { min-height: 350px; padding: 23px; }
  .footer-invitation > p { font-size: 60px; }
}

@media (max-width: 540px) {
  .announcement { padding: 8px 12px; font-size: 7px; letter-spacing: .9px; }
  .header-inner { height: 79px; }
  .brand-logo { width: 143px; }
  .header-inner > .brand-logo { margin-left: 6px; }
  .header-actions { gap: 0; }
  .header-actions .icon-button { width: 29px; padding: 5px; }
  .navigation { top: 79px; }
  .hero { min-height: 0; }
  .hero-copy { padding: 40px 7% 30px; }
  .hero-copy .eyebrow { font-size: 8px; margin-bottom: 22px; }
  .hero h1 { font-size: clamp(70px, 19vw, 93px); letter-spacing: -3px; line-height: .9; }
  .hero h1 em { font-size: 1.06em; }
  .hero-copy > p { font-size: 12px; max-width: 290px; margin-top: 21px; }
  .hero-copy > p br { display: block; }
  .hero-links { flex-direction: row; align-items: center; gap: 20px; margin-top: 24px; }
  .hero-links .button { gap: 20px; padding: 14px 19px; font-size: 9px; min-height: 48px; }
  .hero-secondary { font-size: 9px; gap: 9px; }
  .hero-edition { display: none; }
  .hero-visual { min-height: 460px; height: 460px; margin: 0 5% 25px; }
  .hero-arch { inset: 22px 10% 25px 15%; }
  .hero-photo { inset: 32px 13% 35px 18%; }
  .vertical-caption { left: 6%; top: 44px; font-size: 7px; }
  .hero-article { left: 0; bottom: 18px; width: 218px; padding: 19px 22px; }
  .hero-article strong { font-size: 26px; margin-top: 11px; margin-bottom: 17px; }
  .hero-article > span { font-size: 6px; }
  .hero-image-number { right: 11px; bottom: 10px; font-size: 6px; }
  .studio-rack { padding-top: 42px; padding-bottom: 24px; }
  .rack-heading { gap: 12px; align-items: flex-end; margin-bottom: 25px; }
  .rack-heading .eyebrow { max-width: 220px; font-size: 7px; letter-spacing: 1.1px; margin-bottom: 13px; }
  .chapter-number { padding-right: 9px; margin-right: 8px; }
  .rack-heading h2 { font-size: 49px; letter-spacing: -1.9px; }
  .rack-intro p { display: none; }
  .rack-navigation { gap: 6px; padding-bottom: 4px; }
  .rack-navigation .round-button { width: 34px; height: 34px; }
  .rack-navigation svg { width: 17px; height: 17px; }
  .rack-track { gap: 23px; padding: 0 7vw 22px; }
  .rack-card { width: 68vw; min-width: 0; }
  .rack-hanging { padding-top: 90px; }
  .rack-hanger { width: 165px; height: 92px; top: 11px; }
  .rack-portrait { padding: 6px; }
  .rack-rail { left: 2%; right: 2%; }
  .rack-caption { padding-top: 19px; }
  .rack-caption h3 { font-size: 28px; }
  .rack-caption-top { font-size: 7px; }
  .rack-caption-colour { font-size: 10px; }
  .rack-foot { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding-top: 6px; }
  .rack-foot > p { grid-column: 1/-1; font-size: 9px; flex-wrap: wrap; gap: 7px; }
  .rack-foot > p > span { display: none; }
  .rack-progress { min-width: 0; width: 100%; margin-left: 0; }
  .rack-status { font-size: 7px; }
  .editorial-strip { padding: 18px 6%; justify-content: space-between; gap: 14px; font-size: 6px; letter-spacing: 1.5px; }
  .editorial-strip i { font-size: 11px; }
  .editorial-strip > span:nth-of-type(3) { display: block; }
  .editorial-strip i:last-of-type { display: block; }
  .collection { padding-top: 50px; padding-bottom: 46px; }
  .section-heading { margin-bottom: 23px; }
  .section-heading h2 { font-size: 46px; }
  .collection-count { margin-top: 17px; }
  .collection-toolbar { margin-bottom: 25px; }
  .category-tabs button { font-size: 10px; padding-top: 14px; padding-bottom: 13px; }
  .product-grid { gap: 27px 13px; }
  .product-info { padding-top: 15px; }
  .product-info h3 { font-size: 24px; }
  .product-meta { font-size: 7px; }
  .product-sizes { margin-top: 13px; font-size: 7px; letter-spacing: 1px; }
  .story { margin-left: 6%; margin-right: 6%; }
  .story-copy { padding: 34px 8% 38px; }
  .story-copy h2 { font-size: 54px; }
  .story-copy .eyebrow { font-size: 7px; }
  .fit-section { padding-top: 53px; padding-bottom: 52px; }
  .fit-section > div { min-width: 0; }
  .size-display > span { display: flex; align-items: center; justify-content: center; width: clamp(42px, 12vw, 53px); height: clamp(42px, 12vw, 53px); font-size: clamp(28px, 8vw, 39px); line-height: 1; }
  .coming-section { padding-top: 49px; padding-bottom: 52px; }
  .coming-section h2 { font-size: 44px; }
  .coming-card { min-height: 325px; }
  .footer-invitation { padding-top: 38px; padding-bottom: 38px; }
  .footer-invitation > .eyebrow { font-size: 7px; letter-spacing: 1.2px; }
  .footer-invitation > p { font-size: 49px; margin-top: 19px; max-width: 280px; }
  .footer-invitation > .round-button { width: 44px; height: 44px; font-size: 23px; right: 7%; top: 59%; }
  .footer-main { padding-top: 40px; padding-bottom: 35px; gap: 35px 20px; }
  .footer-main .brand-logo { width: 156px; margin-left: -10px; }
  .footer-main .footer-brand p { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .rack-hanging { transform: none !important; }
  .rack-viewport { scroll-behavior: auto; }
  .rack-progress span { transition: none; }
}
