:root {
  --wine: #9b3100;
  --ink: #222222;
  --cream: #fffcf8;
  --olive: #222222;
  --line: #ead8c6;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 1rem/1.65 system-ui, sans-serif; overflow-wrap: anywhere; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--wine); text-underline-offset: .2em; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 3px solid #e77505; outline-offset: 4px; }
.wrap { width: min(74rem, calc(100% - 2rem)); margin-inline: auto; }
.skip { position: absolute; z-index: 5; top: .5rem; left: .5rem; background: white; padding: .6rem 1rem; transform: translateY(-160%); }
.skip:focus { transform: none; }
header { border-top: 4px solid var(--wine); border-bottom: 1px solid var(--line); background: #fffdf7; }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 2rem; padding-block: .85rem; }
.brand { font: 700 clamp(1.4rem, 3vw, 2rem)/1.1 Georgia, serif; text-decoration: none; }
nav ul { display: flex; flex-wrap: wrap; gap: .2rem 1rem; list-style: none; padding: 0; margin: 0; }
nav a { display: inline-block; padding-block: .3rem; font-weight: 650; text-decoration: none; }
nav a:hover, nav a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; }
h1, h2, h3 { margin: 0 0 .85rem; font-family: Georgia, serif; line-height: 1.13; }
h1 { font-size: clamp(2.4rem, 6vw, 4.7rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1rem; }
.hero { background: #222222; color: #fffaf0; }
.hero-content { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem; align-items: center; padding-block: clamp(2rem, 5vw, 4.25rem); }
.eyebrow { font-size: .8rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: .45rem; }
.slides img { flex: 0 0 100%; width: 100%; aspect-ratio: 2 / 1; object-fit: cover; scroll-snap-align: start; }
.slider-controls { margin-top: .65rem; }
button, .button { font: inherit; font-weight: 650; padding: .55rem .85rem; border: 1px solid var(--wine); border-radius: .3rem; background: var(--wine); color: white; cursor: pointer; }
.button { display: inline-block; text-decoration: none; }
.page { padding-block: clamp(2rem, 5vw, 4rem); }
.copy { max-width: 74ch; }
.copy img, .feature img { border-radius: .45rem; }
.copy img { width: auto; height: auto; }
.home-grid, .product-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.5rem; align-items: start; }
.card { background: #fffdf7; border: 1px solid var(--line); border-radius: .45rem; padding: clamp(1rem, 3vw, 1.8rem); }
.card + .card { margin-top: 1rem; }
.catalog, .gallery { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: 1rem; }
.catalog .card { height: 100%; }
.catalog img, .product-layout > img { width: 100%; background: white; object-fit: contain; }
.catalog img { height: 14rem; margin-bottom: .9rem; }
.product-layout > img { height: min(31rem, 75vh); }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: .35rem; }
address { font-style: normal; }
footer { color: #fffaf0; background: var(--olive); }
footer a { color: inherit; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 1.5rem; padding-block: 2rem; }
.footer-grid nav ul { display: block; }
.footer-grid nav a { padding-block: .12rem; }
.footer-bottom { border-top: 1px solid #ffffff55; padding-block: .8rem; text-align: center; }
@media (max-width: 48rem) {
  .hero-content, .home-grid, .product-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 32rem) {
  .footer-grid { grid-template-columns: 1fr; }
}

:root { --orange: #e77505; }
header { border-top-color: var(--orange); background: #fffcf8 url("bg-header.png") center / cover no-repeat; }
.header-inner { justify-content: center; padding-block: .7rem; }
.brand img { width: clamp(11rem, 25vw, 17rem); height: auto; }
header nav { width: 100%; background: var(--orange); padding: .45rem 0; }
header nav ul { width: min(74rem, calc(100% - 2rem)); margin-inline: auto; justify-content: center; gap: .15rem clamp(.7rem, 3vw, 2rem); }
header nav a { color: #222; }
.footer-bottom .wrap { display: flex; justify-content: center; align-items: center; gap: .7rem; }
.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(29rem, 52vw, 43rem); }
.hero .slides { position: absolute; inset: 0; z-index: -2; border-radius: 0; scrollbar-width: none; }
.hero .slides img { height: 100%; width: 100%; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: linear-gradient(90deg, #18120fc9, #18120f42 70%, #18120f30); }
.hero-copy { padding-block: 3rem 5.5rem; }
.hero-copy > div { max-width: 38rem; }
.hero-copy h1 { font-size: clamp(2.8rem, 8vw, 6rem); }
.hero-copy .eyebrow { color: #ffd09d; }
.hero-copy .lead { font-size: clamp(1.1rem, 2.5vw, 1.45rem); }
.hero-copy .button { background: var(--orange); border-color: var(--orange); color: #222; }
.hero .slider-controls { position: absolute; right: max(1rem, calc((100% - 74rem) / 2)); bottom: 1rem; margin: 0; }
.hero .slider-controls button { background: #222d; border-color: #fffcf8; }
.story, .wine-story { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: clamp(1rem, 5vw, 4rem); }
.story img, .wine-story img { width: 100%; height: clamp(15rem, 34vw, 26rem); object-fit: cover; border-radius: .45rem; }
.story .eyebrow, .wine-story .eyebrow { color: var(--wine); }
.wine-band { background: #fff0de; border-block: 1px solid var(--line); }
.home-contact { text-align: center; }
@media (max-width: 48rem) {
  .story, .wine-story { grid-template-columns: 1fr; }
  .hero::after { background: linear-gradient(90deg, #18120fc9, #18120f69); }
}

.hero .slides { overflow: hidden; }
.hero .slider-controls { inset: auto 1rem 1rem; text-align: center; }
.hero .slider-controls button { font-size: .8rem; }
.slider-dots { display: flex; justify-content: center; gap: .1rem; margin-bottom: .3rem; }
.hero .slider-dots button { display: grid; place-items: center; width: 2rem; height: 2rem; padding: 0; background: transparent; border: 0; }
.slider-dots button::after { content: ""; width: .55rem; height: .55rem; border: 2px solid white; border-radius: 50%; background: #2228; }
.slider-dots button[aria-current="true"]::after { background: white; }
.hero-copy { padding-bottom: 7rem; }
.lightbox { width: min(64rem, calc(100% - 1rem)); max-height: 94dvh; padding: .6rem; color: white; background: #222; border: 0; border-radius: .45rem; }
.lightbox::backdrop { background: #111d; }
.lightbox-bar, .lightbox-stage { display: flex; align-items: center; justify-content: space-between; gap: .4rem; }
.lightbox-bar { padding-bottom: .4rem; }
.lightbox-stage img { width: calc(100% - 5rem); height: min(70dvh, 50rem); object-fit: contain; }
.lightbox button { flex-shrink: 0; width: 2.1rem; padding: .3rem; background: #333; border-color: #fff8; }
.company-extra { margin-top: 2rem; }
.company-photos, .territory-layout { display: grid; gap: 1.25rem; }
.company-photos { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.company-photos img, .territory-layout > img { width: 100%; object-fit: cover; border-radius: .45rem; }
.company-photos img { aspect-ratio: 3 / 2; }
.territory-layout { grid-template-columns: 1.25fr 1fr; align-items: stretch; }
.territory-layout > img { height: 100%; min-height: 14rem; max-height: 30rem; }
.catalog h2 { font-size: clamp(.87rem, 2vw, 1.08rem); font-weight: 700; white-space: nowrap; }
#map-frame iframe { width: 100%; height: clamp(18rem, 50vw, 27rem); border: 0; margin-top: 1rem; }
#map-frame + p { margin-top: 1rem; }
@media (max-width: 48rem) {
  .territory-layout { grid-template-columns: 1fr; }
  .territory-layout > img { height: 15rem; }
}

.company-intro, .contact-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; gap: clamp(1rem, 4vw, 3rem); }
.company-intro article { max-width: none; text-align: justify; }
.company-intro > img { justify-self: end; width: min(100%, 20rem); border-radius: .45rem; }
.contact-layout { align-items: center; }
.contact-layout address { line-height: 1.8; }
.contact-photo { margin: 0; }
.contact-photo img { width: 100%; border-radius: .45rem; }
.hero-copy { padding-bottom: 5rem; }
@media (max-width: 48rem) {
  .company-intro, .contact-layout { grid-template-columns: 1fr; }
  .company-intro > img { justify-self: start; }
}

@media (min-width: 48.001rem) {
  .company-intro { grid-template-columns: minmax(0, 1fr) minmax(0, 16rem); }
}
.company-intro > img { width: min(100%, 16rem); }
