:root {
  --ink: #333;
  --muted: #777;
  --line: #e7e7e7;
  --blue: #6fa6d4;
  --navy: #343a52;
  --soft: #f4f4f4;
  --container: 1180px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.22; }
h1 { font-family: var(--serif); font-weight: 500; }
h2, h3 { font-weight: 600; }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.container-narrow { width: min(850px, calc(100% - 48px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 1000; padding: 10px 16px; background: #fff; box-shadow: 0 2px 12px #0002; }
.skip-link:focus { top: 16px; }

.site-header { position: relative; z-index: 50; height: 100px; background: #fff; border-bottom: 1px solid #eee; }
.header-inner { width: min(1240px, calc(100% - 40px)); height: 100%; margin: auto; display: grid; grid-template-columns: 310px 1fr 40px; align-items: center; gap: 30px; }
.brand img { width: 285px; height: auto; max-height: 86px; }
.main-nav { display: flex; justify-content: flex-end; align-items: center; gap: clamp(24px, 3vw, 46px); }
.main-nav a { position: relative; padding-block: 36px 31px; color: #555; font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.main-nav a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 25px; height: 2px; background: var(--blue); transition: left .2s, right .2s; }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { left: 0; right: 0; }
.search-link { display: grid; place-items: center; }
.search-link svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.menu-toggle { display: none; padding: 8px; border: 0; background: transparent; }
.menu-toggle > span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px 0; background: #333; }

.button { display: inline-flex; min-height: 43px; align-items: center; justify-content: center; padding: 9px 30px; border: 1px solid #333; background: #333; color: #fff; font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; transition: background .2s, color .2s, transform .2s; }
.button:hover { background: #fff; color: #333; transform: translateY(-1px); }
.text-link { color: #555; border-bottom: 1px solid #aaa; font-weight: 600; }
.section-heading { max-width: 900px; margin: 0 auto 32px; text-align: center; }
.section-heading h2 { margin: 12px 0 0; font-family: var(--serif); font-size: clamp(29px, 3.2vw, 44px); font-weight: 500; }
.kicker { margin-bottom: 8px; color: var(--blue); font-size: 14px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.kicker span { display: inline-flex; align-items: center; gap: 14px; }
.kicker span::before, .kicker span::after { content: ""; width: 50px; height: 1px; background: currentColor; opacity: .45; }
.section-action { margin: 35px 0 0; text-align: center; }

.hero-grid { display: grid; grid-template-columns: 1fr .5fr .5fr; grid-template-rows: 225px 225px; min-height: 450px; background: #f6f6f6; }
.hero-photo { background-position: center; background-repeat: no-repeat; background-size: cover; }
.hero-main { grid-row: 1 / 3; background-image: linear-gradient(#0001, #0001), url("/assets/site/hero-main.webp"); background-position: 48% 55%; }
.hero-side-one { background-image: url("/assets/site/hero-side-one.webp"); background-position: 1% 100%; }
.hero-side-two { background-image: url("/assets/site/factory-exterior.webp"); background-position: center center; }
.hero-copy { grid-column: 2 / 4; display: flex; flex-direction: column; justify-content: center; padding: 25px clamp(35px, 5vw, 85px); text-align: center; }
.hero-copy h1 { margin-bottom: 12px; font-size: clamp(30px, 3.2vw, 50px); }
.hero-copy p { margin: 0; color: #555; font-size: 18px; }
.intro-section { padding-block: 125px 100px; text-align: center; }
.intro-section > p { margin: 0 auto 30px; max-width: 780px; color: #666; }
.category-section { padding-block: 35px 85px; }
.category-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 16px; }
.category-card { position: relative; aspect-ratio: 1 / 1.16; overflow: hidden; background: #eee; }
.category-card::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, #000b); }
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.category-card:hover img { transform: scale(1.07); }
.category-card span { position: absolute; z-index: 2; left: 14px; right: 14px; bottom: 14px; color: #fff; }
.category-card strong, .category-card small { display: block; }
.category-card strong { font-family: var(--serif); font-size: 18px; line-height: 1.2; }
.category-card small { margin-top: 3px; opacity: .85; }
.statistics { padding: 70px 0; background: #f2f2f2; }
.statistics-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.statistics-grid > div { min-height: 115px; padding: 12px 35px; border-right: 1px solid #ddd; text-align: center; }
.statistics-grid > div:last-child { border-right: 0; }
.statistics strong, .statistics span { display: block; }
.statistics strong { margin-bottom: 14px; color: #333; font-family: var(--serif); font-size: clamp(30px, 3.2vw, 46px); font-weight: 500; line-height: 1; }
.statistics span { color: #666; }
.beauty { display: grid; grid-template-columns: 1fr 1fr; background: var(--navy); color: #fff; }
.beauty-images { min-height: 640px; background: url("/assets/site/beauty-one.webp") center/cover; animation: beauty 12s infinite; }
@keyframes beauty { 0%, 30% { background-image: url("/assets/site/beauty-one.webp"); } 34%, 64% { background-image: url("/assets/site/beauty-two.webp"); } 68%, 100% { background-image: url("/assets/site/beauty-three.webp"); } }
.beauty-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(45px, 8vw, 115px); }
.beauty-copy .kicker { color: #fff; }
.beauty-copy .kicker span::after { display: none; }
.beauty-copy h2 { margin: 15px 0 0; max-width: 560px; font-family: var(--serif); font-size: clamp(30px, 3.2vw, 50px); font-weight: 500; }
.featured-products, .events { padding-block: 110px; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 24px; }
.home-products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-image { display: block; overflow: hidden; background: #f4f4f4; aspect-ratio: 1; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .product-image img { transform: scale(1.045); }
.product-card-copy { padding-top: 16px; }
.product-card-copy p { margin-bottom: 5px; color: #999; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.product-card-copy h2 { margin: 0; font-family: var(--serif); font-size: 19px; font-weight: 500; }
.events { padding-top: 30px; text-align: center; }
.events-intro { max-width: 850px; margin: -5px auto 38px; color: #666; }
.event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: left; }
.event-card { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #333; }
.event-card::after { content: ""; position: absolute; inset: 30% 0 0; background: linear-gradient(transparent, #000c); }
.event-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.event-card:hover img { transform: scale(1.04); }
.event-card span { position: absolute; z-index: 2; left: 26px; right: 26px; bottom: 23px; color: #fff; }
.event-card strong, .event-card small { display: block; }
.event-card strong { font-family: var(--serif); font-size: 23px; }
.event-card small { margin-top: 2px; opacity: .8; }

.catalog-header { padding: 48px 0; background: #f6f6f6; }
.catalog-header h1 { margin: 0 0 8px; font-size: 38px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: #999; font-size: 13px; text-transform: uppercase; }
.breadcrumb a:hover { color: #333; }
.catalog { display: grid; grid-template-columns: 230px 1fr; gap: 50px; padding-block: 70px 95px; }
.catalog-sidebar { border-right: 1px solid var(--line); padding-right: 30px; }
.catalog-sidebar h2 { margin-bottom: 18px; font-size: 17px; text-transform: uppercase; }
.catalog-sidebar a { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); color: #666; font-size: 14px; }
.catalog-sidebar a:hover { color: var(--blue); }
.catalog-sidebar span { color: #aaa; }
.catalog-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 28px; }
.catalog-toolbar p { margin: 0; color: #777; font-size: 14px; }
.catalog-toolbar label { color: #777; font-size: 13px; }
.catalog-toolbar select { margin-left: 8px; padding: 9px 32px 9px 10px; border: 1px solid #ddd; background: #fff; color: #555; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 55px; }
.pagination a, .pagination span { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid #ddd; }
.pagination span, .pagination a:hover { border-color: #333; background: #333; color: #fff; }

.product-page { padding-block: 35px 100px; }
.product-page > .breadcrumb { margin-bottom: 32px; }
.product-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr); gap: clamp(45px, 7vw, 95px); align-items: start; }
.gallery-main { width: 100%; aspect-ratio: 1; object-fit: cover; background: #f3f3f3; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.gallery-thumbs button { width: 76px; padding: 0; border: 2px solid transparent; background: #eee; cursor: pointer; }
.gallery-thumbs button:hover, .gallery-thumbs button:focus { border-color: #333; }
.gallery-thumbs img { aspect-ratio: 1; object-fit: cover; }
.product-summary { padding-top: 24px; }
.product-category { margin-bottom: 8px; color: #999; font-size: 13px; letter-spacing: .11em; text-transform: uppercase; }
.product-summary h1 { margin-bottom: 16px; font-size: clamp(36px, 4vw, 56px); }
.title-rule { display: block; width: 35px; height: 3px; margin-bottom: 24px; background: #ddd; }
.product-summary > p { color: #666; }
.product-summary .button { margin-block: 16px 22px; }
.product-meta { padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; }
.product-meta a { color: var(--blue); }
.product-details { margin-top: 70px; padding-top: 38px; border-top: 1px solid var(--line); }
.product-details > h2, .related > h2 { font-family: var(--serif); font-size: 30px; font-weight: 500; }
.spec-table { margin-top: 30px; border-top: 1px solid var(--line); }
.spec-table > div { display: grid; grid-template-columns: 210px 1fr; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.spec-table > div:nth-child(even) { background: #fafafa; }
.related { margin-top: 80px; }
.related .product-grid { grid-template-columns: repeat(4, 1fr); }

.page-hero { min-height: 360px; display: grid; place-items: center; background-position: center; background-size: cover; color: #fff; text-align: center; }
.page-hero.small { min-height: 280px; background-image: linear-gradient(#0007, #0007), url("/assets/site/factory-exterior.webp"); }
.page-hero h1 { margin: 0; font-size: clamp(42px, 7vw, 72px); }
.about-hero { min-height: 300px; background-image: linear-gradient(#fff8, #fff8), url("/assets/site/factory-exterior.webp"); }
.about-intro { position: relative; margin-top: -70px; }
.about-intro-card { padding: 42px clamp(24px, 5vw, 68px) 0; background: #fff; text-align: center; }
.about-intro-card p { max-width: 750px; margin-inline: auto; }
.about-intro-card img { width: 90%; max-height: 560px; margin: 45px auto -150px; object-fit: cover; }
.about-growth { padding: 250px 0 100px; background: var(--soft); }
.about-growth > div > h2 { font-family: var(--serif); font-size: 36px; }
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-top: 65px; }
.about-split h3 { font-family: var(--serif); font-size: 30px; }
.about-split img { max-height: 480px; width: 100%; object-fit: cover; }
.contact-hero { min-height: 350px; background-image: linear-gradient(#0007, #0007), url("/assets/site/event-environment.webp"); }
.contact-wrap { position: relative; margin-top: -75px; padding-bottom: 100px; }
.contact-panel { display: grid; grid-template-columns: 1fr 1fr; background: #fff; box-shadow: 0 12px 45px #0002; }
.contact-panel article { padding: 55px clamp(30px, 5vw, 75px); text-align: center; }
.contact-panel article + article { border-left: 1px solid var(--line); }
.contact-icon { display: block; margin-bottom: 12px; color: var(--blue); font-size: 34px; }
.contact-panel h2, .contact-social h2 { font-family: var(--serif); font-size: 28px; }
.contact-social { padding: 70px 0 0; text-align: center; }
.blog-grid { display: grid; gap: 55px; padding-block: 85px 100px; }
.post-card { display: grid; grid-template-columns: 42% 1fr; gap: 45px; align-items: center; padding-bottom: 55px; border-bottom: 1px solid var(--line); }
.post-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.post-date { margin-bottom: 7px; color: #999; font-size: 13px; text-transform: uppercase; }
.post-card h2 { margin-bottom: 12px; font-family: var(--serif); font-size: 32px; font-weight: 500; }
.post-card p { color: #666; }
.article { padding-bottom: 100px; }
.article-header { width: min(800px, calc(100% - 48px)); margin: 0 auto; padding: 80px 0 45px; text-align: center; }
.article-header h1 { margin: 12px 0; font-size: clamp(40px, 6vw, 64px); }
.article-header > p:last-child { color: #999; }
.article-hero { width: min(1100px, calc(100% - 48px)); max-height: 650px; margin: auto; object-fit: cover; }
.article-content { width: min(760px, calc(100% - 48px)); margin: 55px auto 0; }
.article-content .lead { font-size: 21px; }
.article-content h2 { margin-top: 38px; font-family: var(--serif); font-size: 30px; }
.article-content li { margin-bottom: 9px; }
.article-content .button { margin-top: 30px; }
.search-page { padding-block: 65px 100px; }
.search-page > label { display: block; margin-bottom: 9px; font-weight: 700; }
.search-page > input { width: 100%; max-width: 700px; padding: 15px 18px; border: 1px solid #ccc; font-size: 18px; }
.search-page > p { margin: 15px 0 35px; color: #777; }
.product-card[hidden] { display: none; }
.not-found { min-height: 62vh; display: grid; place-content: center; justify-items: center; padding: 50px 20px; text-align: center; }
.not-found > p { margin: 0; color: #eee; font: 120px/1 var(--serif); }
.not-found h1 { font-size: 40px; }

.site-footer { background: #262b3d; color: #d8d9df; }
.footer-main { width: min(var(--container), calc(100% - 48px)); margin: auto; padding: 60px 0; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 50px; align-items: center; }
.footer-brand img { width: 280px; height: auto; }
.footer-main nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 25px; }
.footer-main a:hover { color: #fff; }
.footer-main p { margin: 0; }
.official-notice { padding: 13px 24px; background: #1d2130; text-align: center; font-size: 13px; }
.copyright { padding: 16px 24px; border-top: 1px solid #ffffff15; color: #aaa; text-align: center; font-size: 13px; }

@media (max-width: 1020px) {
  .header-inner { grid-template-columns: 60px 1fr 60px; }
  .brand { justify-self: center; }
  .brand img { width: 255px; }
  .menu-toggle { display: block; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; padding: 15px 24px 25px; background: #fff; border-top: 1px solid #eee; box-shadow: 0 12px 24px #0001; }
  .main-nav.is-open { display: grid; grid-template-columns: 1fr; justify-content: stretch; justify-items: stretch; }
  .main-nav a { width: 100%; padding: 12px 0; border-bottom: 1px solid #eee; text-align: left; }
  .main-nav a::after { display: none; }
  .category-grid { grid-template-columns: repeat(4, 1fr); }
  .home-products { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 400px 210px 250px; }
  .hero-main { grid-column: 1 / 3; grid-row: 1; }
  .hero-side-one, .hero-side-two { grid-row: 2; }
  .hero-copy { grid-column: 1 / 3; grid-row: 3; }
  .beauty { grid-template-columns: 1fr; }
  .beauty-images { min-height: 55vw; }
  .beauty-copy { min-height: 370px; }
  .catalog { grid-template-columns: 190px 1fr; gap: 35px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .related .product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .container, .container-narrow { width: min(100% - 32px, var(--container)); }
  .site-header { height: 78px; }
  .header-inner { width: calc(100% - 20px); grid-template-columns: 45px 1fr 45px; gap: 5px; }
  .brand img { width: min(220px, 67vw); }
  .main-nav { top: 78px; }
  .hero-grid { grid-template-rows: 300px 150px 270px; }
  .hero-copy { padding-inline: 25px; }
  .hero-copy h1 { font-size: 32px; }
  .intro-section { padding-block: 75px; }
  .section-heading h2 { font-size: 31px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .category-card { aspect-ratio: 1 / 1.08; }
  .statistics { padding-block: 45px; }
  .statistics-grid { grid-template-columns: 1fr 1fr; }
  .statistics-grid > div { padding: 22px 12px; border-right: 1px solid #ddd; border-bottom: 1px solid #ddd; }
  .statistics-grid > div:nth-child(even) { border-right: 0; }
  .statistics-grid > div:nth-child(n+3) { border-bottom: 0; }
  .beauty-images { min-height: 74vw; }
  .beauty-copy { min-height: 340px; padding: 45px 30px; }
  .featured-products, .events { padding-block: 75px; }
  .home-products, .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 14px; }
  .product-card-copy h2 { font-size: 17px; }
  .event-grid { grid-template-columns: 1fr; }
  .catalog-header { padding: 34px 0; }
  .catalog { display: block; padding-block: 45px 70px; }
  .catalog-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; margin-bottom: 35px; padding: 0 0 25px; border-right: 0; border-bottom: 1px solid var(--line); }
  .catalog-sidebar h2 { grid-column: 1 / 3; }
  .catalog-toolbar { align-items: flex-start; flex-direction: column; }
  .product-top { grid-template-columns: 1fr; gap: 20px; }
  .product-summary { padding-top: 5px; }
  .product-details { margin-top: 50px; }
  .spec-table > div { grid-template-columns: 1fr; gap: 4px; }
  .related .product-grid { grid-template-columns: repeat(2, 1fr); }
  .about-intro-card { padding-inline: 10px; }
  .about-intro-card img { width: 100%; margin-bottom: -80px; }
  .about-growth { padding-top: 160px; }
  .about-split { grid-template-columns: 1fr; gap: 25px; }
  .contact-panel { grid-template-columns: 1fr; }
  .contact-panel article { padding: 42px 24px; }
  .contact-panel article + article { border-left: 0; border-top: 1px solid var(--line); }
  .post-card { grid-template-columns: 1fr; gap: 25px; }
  .article-header { padding-top: 55px; }
  .footer-main { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .footer-brand img { margin: auto; }
  .footer-main nav { max-width: 320px; margin: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
