/* IXUS: soft edges, open layouts, and continuously moving photographs. */
:root {
  --paper: #f8f6f2;
  --ink: #302f2b;
  --blue: #465650;
  --muted: #65685f;
  --line: #deddd4;
  --sand: #eeeee8;
}
body { background: var(--paper); }
.site-header { padding-top: 24px; padding-bottom: 24px; }
.desktop-nav { gap: 30px; font-weight: 500; }
.header-cta { border-color: #a4aca5; border-radius: 30px; padding: 10px 22px; }
.mobile-menu nav { border-radius: 16px; }
.eyebrow { font-family: inherit; font-size: 12px; font-weight: 500; letter-spacing: .1em; color: var(--muted); }
.hero { grid-template-columns: 42% 58%; min-height: 640px; padding: 0 40px 0 0; }
.hero-copy { padding-top: 48px; padding-bottom: 50px; }
.hero-copy > .eyebrow { margin-bottom: 30px; }
.hero h1 { font-size: clamp(34px,3.15vw,44px); font-weight: 500; line-height: 1.65; letter-spacing: .015em; }
.hero h1 .serif { font-family: var(--serif); font-weight: 400; white-space: nowrap; }
.hero-description { margin: 29px 0 35px; font-size: 14px; line-height: 2.15; }
.hero-actions { gap: 25px; }
.hero-image { overflow: hidden; isolation: isolate; background: #25363a; border-radius: 32px 32px 72px 32px; }
/* Zoom the shared photograph layer so changing slides cannot reset a visible photo. */
.hero-photos { position: absolute; inset: 0; animation: photograph-drift 12s ease-in-out infinite alternate; animation-play-state: paused; will-change: transform; }
.hero-image[data-playing="true"] .hero-photos { animation-play-state: running; }
.hero-photos > .hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-position: 39% 50%; opacity: 0; transition: opacity 1.35s ease-in-out; }
.hero-photos > .hero-slide.is-active { opacity: 1; }
.hero-photos > .hero-slide[hidden], .hero-controls[hidden], .hero-thumbnail[hidden], .hero-playback[hidden] { display: none; }
.hero-photos > img[src$="hero-pu.jpg"] { object-position: 52% 50%; }
.hero-photos > img[src$="hero-leathery-denim.jpg"] { object-position: 48% 50%; }
@keyframes photograph-drift { from { transform: scale(1.025) translateX(-.6%); } to { transform: scale(1.12) translateX(.8%); } }
.image-caption { left: 0; right: 0; bottom: 0; display: block; padding: 64px 28px 24px; border: 0; background: linear-gradient(transparent, #172126c9); text-shadow: none; }
.hero-caption-heading { display: flex; align-items: center; }
.hero-material { display: inline-flex; align-items: center; gap: 14px; min-height: 35px; font: 12px Arial,sans-serif; letter-spacing: .12em; }
.hero-material:hover { text-decoration: underline; text-underline-offset: 5px; }
.image-caption .hero-material span { font: 15px Arial,sans-serif; }
.hero-controls { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 11px; }
.hero-thumbnails { display: flex; gap: 10px; }
.hero-thumbnail { position: relative; width: 61px; height: 44px; padding: 0; border: 1px solid #ffffff70; border-radius: 10px; background: #273536; color: white; cursor: pointer; overflow: hidden; }
.hero-thumb-image { display: block; position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .7; }
.image-caption .hero-thumbnail > span:last-child { display: none; }
.hero-thumbnail[aria-pressed="true"] { border: 2px solid #fff; }
.hero-thumbnail[aria-pressed="true"] .hero-thumb-image, .hero-thumbnail:hover .hero-thumb-image { opacity: 1; }
.hero-playback { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 65px; min-height: 44px; padding: 7px 12px; border: 1px solid #ffffff85; border-radius: 28px; color: white; background: #17212655; cursor: pointer; }
.image-caption .hero-playback span { font: 11px "Yu Gothic",sans-serif; }
.hero-playback:hover { background: #172126b3; }
.hero-controls button:focus-visible,.hero-material:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.button { background: var(--blue); border-radius: 30px; box-shadow: none; font-weight: 500; padding-left: 26px; padding-right: 26px; }
.button:hover { background: #33453e; }
.text-link { border-bottom-color: #a4ada8; font-weight: 500; }
.fit-section { margin-top: 16px; padding-top: 64px; padding-bottom: 46px; border-bottom: 0; }
.fit-panel { padding: 12px 0 12px 42px; background: transparent; }
.fit-panel > p { font-size: 11px; }
.fit-steps { margin-bottom: 20px; }
.fit-steps li { gap: 12px; font-size: 13px; }
.fit-steps span { color: #7c847d; }
.collection { padding-top: 84px; padding-bottom: 100px; }
.section-heading { margin-bottom: 45px; }
h2 { font-weight: 400; font-size: 33px; line-height: 1.65; }
.section-intro { font-size: 14px; line-height: 2.1; }
.featured-products { grid-template-columns: 1.12fr 1fr; gap: 50px; align-items: start; }
.featured-products > :nth-child(2) { margin-top: 65px; }
.product-image { border-radius: 18px; }
.product-heading h3 { font-size: 23px; font-weight: 400; }
.product-card > p,.secondary-products .product-card > p { font-size: 13px; }
.product-meta { font-size: 11px; margin-top: 10px; border-top: 0; }
.secondary-products { gap: 30px; margin-top: 50px; }
.secondary-products .product-heading h3 { font-size: 18px; }
.craft { max-width: 1200px; grid-template-columns: .9fr 1.1fr; background: transparent; }
.craft-image { min-height: 410px; border-radius: 28px; overflow: hidden; }
.craft-copy { padding: 40px 40px 40px 65px; }
.craft-copy > p:not(.eyebrow) { font-size: 14px; }
.gallery { padding-top: 100px; padding-bottom: 100px; }
.gallery-description { font-size: 14px; }
.gallery-grid { grid-template-columns: 1.15fr 1fr; gap: 32px 55px; align-items: center; }
.gallery-card:first-child { grid-row: span 2; }
.gallery-card > img { border-radius: 18px; }
.gallery-card:first-child > img { aspect-ratio: 5 / 4; }
.gallery-card:not(:first-child) { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 22px; }
.gallery-card:not(:first-child) > img { aspect-ratio: 1; }
.gallery-card:not(:first-child) > div { padding-top: 0; }
.gallery-card h3 { font-size: 19px; }
.gallery-card p { font-size: 11px; letter-spacing: .05em; }
.guide { padding-top: 64px; padding-bottom: 78px; border-top: 0; }
.order-steps { gap: 45px; }
.order-steps li { border-top: 0; }
.order-steps li > span { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: #eaece4; font-family: Arial,sans-serif; font-style: normal; font-size: 13px; font-weight: 400; color: #535e50; }
.order-steps p { font-size: 13px; }
.faq { padding-bottom: 95px; }
.faq-list summary { font-size: 14px; padding-top: 23px; padding-bottom: 23px; }
.faq-list details > p { font-size: 13px; }
.closing { max-width: 1200px; margin: 0 auto; border-radius: 38px; background: #e8ebe2; color: var(--ink); padding: 65px 24px; }
.closing h2 { font-family: inherit; font-weight: 400; font-size: 31px; }
.closing > p:not(.eyebrow) { color: var(--muted); font-size: 13px; }
.button-light { background: var(--blue); color: white; }
.button-light:hover { background: #33453e; }
.footer { padding-top: 55px; }
.footer-top > div > p { font-size: 12px; }
.footer-top nav { font-size: 12px; }
/* The off-site link (photo submission form on m-connect.co.jp) takes its own last row: its long name never widens or wraps the columns. */
.footer-top nav .footer-external { grid-column: 1 / -1; justify-self: start; }
@media (max-width: 1280px) {
  .craft,.closing { margin-left: 40px; margin-right: 40px; }
}
@media (max-width: 1050px) {
  .desktop-nav { gap: 16px; }
  .hero { min-height: 560px; padding-right: 24px; }
  .hero h1 { font-size: 35px; }
  .hero-description { font-size: 13px; }
  .hero-copy { padding-left: 30px; }
  .fit-panel { padding-left: 26px; }
  .featured-products { gap: 32px; }
  .craft,.closing { margin-left: 30px; margin-right: 30px; }
  .craft-copy { padding-left: 32px; }
  .craft h2 { font-size: 29px; }
}
@media (max-width: 800px) {
  .site-header { padding: 16px 24px; }
  .hero { grid-template-columns: 1fr; padding: 0; min-height: 0; }
  .hero-copy { padding: 30px 24px 33px; }
  .hero-copy > .eyebrow { font-size: 11px; margin-bottom: 20px; letter-spacing: .05em; }
  .hero h1 { font-size: clamp(29px,9vw,36px); line-height: 1.55; }
  .hero-description { margin: 20px 0 24px; font-size: 13px; }
  .hero-actions { gap: 18px; }
  .hero-image { height: 410px; margin: 0 16px; border-radius: 24px 24px 44px 24px; }
  .hero-photos > .hero-slide { object-position: 45% 50%; }
  .image-caption { left: 0; right: 0; bottom: 0; padding: 55px 24px 22px; }
  .hero-material { font-size: 11px; }
  .hero-controls { margin-top: 9px; gap: 16px; }
  .hero-thumbnails { gap: 8px; }
  .hero-thumbnail { width: 58px; }
  .hero-playback { min-width: 62px; }
  .fit-section { margin-top: 0; padding-top: 43px; padding-bottom: 43px; gap: 22px; }
  .fit-panel { border-left: 0; padding: 0; }
  .fit-panel > p { font-size: 10px; }
  .fit-steps { gap: 12px; }
  .fit-steps li { font-size: 12px; gap: 8px; }
  .collection { padding-top: 54px; padding-bottom: 60px; }
  h2,.section-heading h2 { font-size: 28px; }
  .section-heading { margin-bottom: 26px; }
  .section-intro { font-size: 13px; }
  .featured-products,.secondary-products { grid-template-columns: 1fr; gap: 32px; }
  .featured-products > :nth-child(2) { margin-top: 0; }
  .secondary-products { margin-top: 32px; }
  .product-heading h3,.secondary-products .product-heading h3 { font-size: 21px; }
  .product-meta { margin-top: 13px; }
  .craft { margin: 0 24px; grid-template-columns: 1fr; }
  .craft-image { min-height: 0; }
  .craft-copy { padding: 30px 0 10px; }
  .craft h2 { font-size: 28px; }
  .craft-copy > p:not(.eyebrow) { font-size: 13px; }
  .gallery { padding-top: 58px; padding-bottom: 58px; }
  .gallery-description { font-size: 13px; }
  .gallery-grid { grid-template-columns: 1fr; gap: 30px; }
  .gallery-card:first-child { grid-row: auto; }
  .gallery-card:not(:first-child) { display: block; }
  .gallery-card:first-child > img,.gallery-card:not(:first-child) > img { aspect-ratio: 4 / 3; }
  .gallery-card:not(:first-child) > div { padding-top: 13px; }
  .guide { padding-top: 45px; padding-bottom: 55px; }
  .order-steps { gap: 24px; }
  .faq { padding-bottom: 55px; }
  .faq-list summary { font-size: 13px; }
  .closing { margin: 0 16px; border-radius: 28px; padding: 40px 20px; }
  .closing h2 { font-size: 27px; }
  .closing > p:not(.eyebrow) { font-size: 12px; }
  .footer { padding-top: 34px; }
  .footer-top nav { font-size: 11px; }
}
@media (max-width: 360px) {
  .hero-copy { padding-left: 20px; padding-right: 20px; }
  .hero h1 { font-size: 30px; }
  .hero-image { height: 355px; }
  .image-caption { padding-left: 20px; padding-right: 20px; }
  .hero-thumbnail { width: 52px; }
  .fit-steps li { font-size: 11px; }
  .gallery h2 { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-photos { animation: none; will-change: auto; }
}
