:root {
  --blue: #245c84;
  --blue-dark: #1b4766;
  --mint: #ecf4f4;
  --mist: rgba(160, 200, 200, 0.19);
  --green: #83c374;
  --ink: #161616;
  --muted: #404040;
  --line: #d9e3e6;
  --white: #fff;
  --heading: "Questrial", "Helvetica Neue", Arial, sans-serif;
  --body: "Mulish", "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  --accent: "Work Sans", "Helvetica Neue", Arial, sans-serif;
  --wrap: 980px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 300 15px/1.65 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
h1, h2, h3 { font-family: var(--heading); font-weight: 400; line-height: 1.2; color: var(--blue); margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 10; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 120px; flex-wrap: wrap; }
.logo img { width: 207px; height: auto; }
.site-header nav { flex: 1; }
.nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 26px; justify-content: flex-end; }
.nav a { color: #000; text-decoration: none; font: 400 14px/1.4 var(--body); padding: 6px 0; display: inline-block; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); border-bottom-color: var(--blue); }
.social { display: flex; gap: 12px; }
.social a { color: var(--blue); display: inline-flex; }
.social--light a { color: var(--white); }

/* buttons */
.btn { display: inline-block; background: var(--blue); color: var(--white); text-decoration: none; font: 400 15px/1 var(--body); padding: 15px 26px; border: 0; }
.btn:hover { background: var(--blue-dark); color: var(--white); }
.btn--light { background: var(--white); color: var(--blue); }
.btn--light:hover { background: var(--mint); color: var(--blue); }

/* hero */
.hero { background: var(--mint); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.hero-img img { width: 100%; height: 100%; max-height: 500px; object-fit: cover; }
.hero-text { padding: 40px 32px; text-align: center; }
.hero-text h1 { font-size: 45px; color: #000; margin-bottom: 10px; }
.tagline { font: 700 20px/1.3 var(--accent); color: var(--green); letter-spacing: .02em; margin-bottom: 28px; }
.hero-text p { color: var(--blue); }

/* sections */
.section { padding: 56px 0; }
.section-title { font-size: 40px; text-align: center; margin-bottom: 28px; }
.section-sub { text-align: center; font: 700 18px/1.4 var(--accent); color: #000; margin: -12px 0 32px; }
.notice { text-align: center; font-size: 13px; color: var(--muted); margin: 0 auto 24px; max-width: 640px; }

/* product grid */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 20px; list-style: none; margin: 0; padding: 0; }
.card { position: relative; }
.card a.card-link { color: inherit; text-decoration: none; display: block; }
.card-img { position: relative; aspect-ratio: 1 / 1; background: var(--mint); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.card a.card-link:hover .card-img img { transform: scale(1.03); }
.card-img--empty { display: flex; align-items: center; justify-content: center; color: var(--blue); font: 400 14px var(--heading); text-align: center; padding: 12px; }
.ribbon { position: absolute; top: 10px; left: 0; background: var(--blue); color: var(--white); font: 400 12px/1 var(--accent); padding: 6px 10px; z-index: 1; }
.card h3 { font: 400 15px/1.4 var(--body); color: #000; margin: 12px 0 4px; }
.price { font-size: 15px; margin: 0; }
.unit-price { font: 400 12px var(--accent); color: var(--muted); margin: 2px 0 0; }
.order-link { display: inline-block; margin-top: 10px; font-size: 14px; }
.shop-bg { background: var(--mist); }

/* events */
.events-grid { display: grid; grid-template-columns: 1fr 1fr; }
.events-photo img { width: 100%; height: 100%; object-fit: cover; }
.event-card { background: var(--blue); color: var(--white); padding: 40px 36px; display: flex; flex-direction: column; justify-content: center; }
.event-card h3 { font: 700 22px/1.3 var(--heading); color: var(--white); margin-bottom: 18px; }
.event-card h3 a, .event-card a { color: var(--white); }
.event-when { font: 700 20px/1.4 var(--accent); margin: 0; }
.event-where { font-size: 20px; margin: 16px 0 0; }
.event-note { font-size: 13px; opacity: .85; margin: 22px 0 0; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; }
.contact-panel { background: var(--mint); padding: 56px 32px; }
.contact-panel h2 { font-size: 40px; }
.big-phone { font: 700 22px/1.3 var(--body); margin: 18px 0; }
.big-phone a { color: #000; text-decoration: none; }
.contact-art { background: var(--blue) linear-gradient(160deg, var(--blue) 0%, #2f7aa8 55%, var(--green) 140%); display: flex; align-items: flex-end; padding: 32px; color: var(--white); }
.contact-art p { font: 700 20px/1.3 var(--accent); margin: 0; }
.contact-ways { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.contact-ways a { font-weight: 400; }

/* page header */
.page-head { background: var(--mint); padding: 48px 0 40px; text-align: center; }
.page-head h1 { font-size: 40px; margin-bottom: 8px; }
.page-head p { font: 700 18px/1.4 var(--accent); color: #000; margin: 0; }

/* prose */
.prose { max-width: 720px; margin: 0 auto; }
.prose h2 { font-size: 26px; margin-top: 1.4em; }
.prose img { margin: 24px auto; }
.prose figure { margin: 24px 0; }

/* product page */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.product h1 { font: 400 32px/1.2 var(--heading); color: #000; }
.product .price { font-size: 22px; margin-bottom: 4px; }
.product-box { border: 1px solid var(--line); padding: 20px; margin: 24px 0; background: var(--white); }
.product-box h2 { font: 400 18px/1.3 var(--heading); color: var(--blue); }
.choices { margin: 0 0 12px; padding-left: 18px; }
.archived { font-size: 13px; color: var(--muted); }

/* partners */
.partner { display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); }
.partner:last-child { border-bottom: 0; }
.partner img { margin: 0 auto; }
.partner p { font-family: "Montserrat", var(--body); font-size: 15px; font-weight: 400; }

/* faq */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.faq-grid h2 { font-size: 22px; }

/* blog */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 32px; list-style: none; padding: 0; margin: 0; }
.post-card { background: var(--white); border: 1px solid var(--line); }
.post-card a { color: inherit; text-decoration: none; display: block; }
.post-card .body { padding: 18px 20px 22px; }
.post-card h2 { font: 400 22px/1.3 var(--heading); color: #000; }
.meta { font: 400 12px var(--accent); color: var(--muted); margin-bottom: 8px; }

/* footer */
.site-footer { background: var(--blue); color: var(--white); padding: 48px 0 24px; }
.site-footer a { color: var(--white); }
.footer-grid { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.footer-keep h2 { font: 400 22px var(--heading); color: var(--white); }
.footer-keep p { margin: 0 0 8px; }
.footer-phone { font-size: 18px; }
.footer-badges { display: flex; gap: 16px; align-items: center; }
.footer-badges img { background: var(--white); padding: 4px; }
.footer-base { text-align: center; margin-top: 32px; font-size: 14px; }
.footer-base p { margin: 4px 0; }
.footer-base p:first-child { font-family: "Montserrat", var(--body); color: #dbdbdb; }

@media (max-width: 860px) {
  .products { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .header-row { min-height: 0; padding-top: 12px; padding-bottom: 12px; gap: 10px 16px; justify-content: space-between; }
  .logo img { width: 150px; }
  .site-header nav { order: 3; flex-basis: 100%; }
  .nav { justify-content: flex-start; gap: 2px 18px; }
  .hero-grid, .events-grid, .contact-grid, .product, .faq-grid { grid-template-columns: 1fr; }
  .hero-img img { max-height: 260px; }
  .hero-text { padding: 28px 16px 36px; }
  .hero-text h1 { font-size: 34px; }
  .section { padding: 40px 0; }
  .section-title, .page-head h1, .contact-panel h2 { font-size: 30px; }
  .products { grid-template-columns: repeat(2, 1fr); gap: 24px 14px; }
  .event-card, .contact-panel { padding: 32px 20px; }
  .contact-art { min-height: 120px; }
  .partner { grid-template-columns: 1fr; gap: 12px; }
  .partner img { max-width: 220px; }
}
.sr { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
