/* header */
/* styles.css */
@import url('https://wodkavines.ca/wp-content/uploads/nitroshock/fonts/ns-fonts-dbb68a7ba1.css');

/* ======================================================================
   DESIGN TOKENS
   Colours from the logo's two bottles: burgundy = wine, navy = spirits.
   The child theme reads these same names.
   ====================================================================== */
:root {
	--color-primary: #690303;
	--color-primary-hover: #4d0202;
	--color-secondary: #221d5d;
	--color-secondary-hover: #161240;
	--color-text: #231f20;
	--color-text-muted: #5c5759;
	--color-bg: #ffffff;
	--color-surface: #f5f4f2;
	--color-wine-tint: #f5eceb;
	--color-spirit-tint: #ecebf4;
	--color-border: #d9d5d1;
	--color-border-strong: #8a8385;
	--color-on-dark: #ffffff;
	--color-on-dark-muted: #b9b6d8;
	--color-on-dark-rule: rgba(255, 255, 255, 0.25);
	--color-focus: #221d5d;

	--font-display: "Jost", "Futura", "Avenir Next", "Century Gothic", sans-serif;
	--font-text: "Jost", "Futura", "Avenir Next", "Segoe UI", sans-serif;
	--font-ui: "Jost", "Futura", "Avenir Next", sans-serif;
	--text-xs: 0.8125rem;
	--text-sm: 0.9375rem;
	--text-base: 1.0625rem;
	--text-lg: 1.3125rem;
	--text-xl: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
	--text-2xl: clamp(1.875rem, 1.4rem + 1.8vw, 2.625rem);
	--text-3xl: clamp(2.25rem, 1.5rem + 3.2vw, 4rem);
	--leading-tight: 1.12;
	--leading-snug: 1.3;
	--leading-text: 1.65;
	--weight-light: 300;
	--weight-regular: 400;
	--weight-medium: 500;
	--measure: 62ch;

	--space-1: 0.25rem;
	--space-2: 0.5rem;
	--space-3: 0.75rem;
	--space-4: 1rem;
	--space-5: 1.5rem;
	--space-6: 2rem;
	--space-7: 3rem;
	--space-8: 4rem;
	--space-9: 6rem;
	--space-10: 8rem;
	--section-space: clamp(var(--space-8), 9vw, var(--space-10));
	--gutter: clamp(1.25rem, 4vw, 3rem);
	--container: 76rem;

	--radius-sm: 3px;
	--radius-niche: 999px 999px var(--radius-sm) var(--radius-sm);
}

/* ======================================================================
   BASE PRIMITIVES
   ====================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--color-bg);
	color: var(--color-text);
	font-family: var(--font-text);
	font-size: var(--text-base);
	line-height: var(--leading-text);
	letter-spacing: 0.005em;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 {
	margin: 0;
	font-family: var(--font-display);
	font-weight: var(--weight-light);
	line-height: var(--leading-tight);
	letter-spacing: -0.01em;
}
h1 { font-size: var(--text-3xl); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-xl); font-weight: var(--weight-regular); line-height: var(--leading-snug); }
h4 { font-size: var(--text-base); font-weight: var(--weight-medium); line-height: var(--leading-snug); }
p, ul, ol { margin: 0; }
p + p { margin-top: var(--space-4); }
ul, ol { padding: 0; }
address { font-style: normal; }
a {
	color: var(--color-secondary);
	text-decoration-line: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}
a:hover { color: var(--color-primary); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}

/* ======================================================================
   SHARED UTILITY CLASSES
   ====================================================================== */
.ns-container {
	width: 100%;
	max-width: calc(var(--container) + 2 * var(--gutter));
	margin: 0 auto;
	padding: 0 var(--gutter);
}
.ns-visually-hidden {
	position: absolute; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.ns-skip-link {
	position: absolute; left: var(--space-4); top: -4rem; z-index: 20;
	padding: var(--space-2) var(--space-4); background: var(--color-bg); font-family: var(--font-ui);
}
.ns-skip-link:focus { top: var(--space-4); }

/* Interior page heading and the sections below it */
.ns-page-head { padding: var(--space-8) 0 var(--space-6); }
.ns-lead { margin-top: var(--space-5); max-width: var(--measure); font-size: var(--text-lg); line-height: 1.55; }
.ns-section { padding: var(--space-7) 0; }
.ns-section > .ns-container > h2 { margin-bottom: var(--space-5); }
.ns-prose { max-width: var(--measure); }

/* Buttons: burgundy for wine and general actions, navy for spirits */
.ns-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
.ns-btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 3rem; padding: var(--space-3) var(--space-5);
	border: 1px solid transparent; border-radius: var(--radius-sm);
	font-family: var(--font-ui); font-size: var(--text-sm); font-weight: var(--weight-medium);
	letter-spacing: 0.02em; line-height: 1.2; text-decoration: none; cursor: pointer;
}
.ns-btn:hover { text-decoration: none; }
.ns-btn--wine { background: var(--color-primary); color: var(--color-on-dark); }
.ns-btn--wine:hover { background: var(--color-primary-hover); color: var(--color-on-dark); }
.ns-btn--spirit { background: var(--color-secondary); color: var(--color-on-dark); }
.ns-btn--spirit:hover { background: var(--color-secondary-hover); color: var(--color-on-dark); }
.ns-btn--outline { border-color: currentColor; color: var(--color-secondary); background: transparent; }
.ns-btn--outline:hover { background: var(--color-secondary); color: var(--color-on-dark); border-color: var(--color-secondary); }
.ns-btn--light { background: var(--color-on-dark); color: var(--color-secondary); }
.ns-btn--light:hover { background: var(--color-spirit-tint); color: var(--color-secondary); }

/* Shortcode output sits inside this wrapper on Page Builder pages */
.ns-embed { margin-top: var(--space-6); }

/* ======================================================================
   HEADER
   ====================================================================== */
.ns-header { border-bottom: 1px solid var(--color-border); background: var(--color-bg); }
.ns-header-inner { display: flex; align-items: center; gap: var(--space-5); min-height: 5rem; }
.ns-logo { flex: none; }
.ns-logo img { width: 9.5rem; }
.ns-nav { margin-left: auto; }
.ns-nav ul { display: flex; gap: var(--space-5); list-style: none; }
.ns-nav a {
	display: block; padding: var(--space-2) 0; border-bottom: 2px solid transparent;
	font-family: var(--font-ui); font-size: var(--text-sm); color: var(--color-text); text-decoration: none;
}
.ns-nav a:hover { color: var(--color-primary); border-bottom-color: currentColor; }
.ns-nav-store { display: none; }
.ns-tools { display: flex; align-items: center; gap: var(--space-3); }
.ns-icon-btn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 3rem; height: 3rem; border: 0; border-radius: var(--radius-sm);
	background: transparent; color: var(--color-text); cursor: pointer;
}
.ns-icon-btn:hover { background: var(--color-surface); color: var(--color-text); }
.ns-icon-btn svg { width: 1.375rem; height: 1.375rem; }
.ns-menu-toggle { display: none; }

@media (max-width: 68rem) {
	.ns-header-inner { flex-wrap: wrap; gap: var(--space-3); min-height: 4.25rem; }
	.ns-logo img { width: 8rem; }
	.ns-tools { margin-left: auto; }
	.ns-tools .ns-btn { display: none; }
	.ns-menu-toggle { display: inline-flex; }
	.ns-nav { order: 3; width: 100%; margin: 0; display: none; padding-bottom: var(--space-4); }
	.ns-nav.is-open { display: block; }
	.ns-nav ul { flex-direction: column; gap: 0; }
	.ns-nav li + li { border-top: 1px solid var(--color-border); }
	.ns-nav a { padding: var(--space-3) 0; border: 0; font-size: var(--text-lg); }
	.ns-nav-store { display: block; }
}

/* ======================================================================
   FOOTER
   ====================================================================== */
.ns-footer {
	padding: var(--space-8) 0 var(--space-6);
	background: var(--color-text); color: var(--color-on-dark);
	font-family: var(--font-ui); font-size: var(--text-sm);
}
.ns-footer a { color: var(--color-on-dark); }
.ns-footer a:hover { color: var(--color-on-dark); }
.ns-footer h2 { margin-bottom: var(--space-3); font-family: var(--font-ui); font-size: var(--text-sm); font-weight: var(--weight-medium); }
.ns-footer ul { list-style: none; }
.ns-footer li + li { margin-top: var(--space-2); }
.ns-footer-grid { display: grid; grid-template-columns: minmax(0, 3fr) repeat(3, minmax(0, 2fr)); gap: var(--space-7); }
.ns-footer-brand img { width: 11rem; }
.ns-footer-brand address { margin-top: var(--space-5); line-height: 1.7; }
.ns-footer-base {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-4);
	margin-top: var(--space-8); padding-top: var(--space-5); border-top: 1px solid var(--color-on-dark-rule);
}
@media (max-width: 60rem) {
	.ns-footer-grid { grid-template-columns: 1fr 1fr; }
	.ns-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 36rem) {
	.ns-footer-grid { grid-template-columns: 1fr; }
}
/* Header search: the search icon opens this field under the header. */
.ns-header { position: relative; }
.ns-header-search { position: absolute; left: 0; right: 0; top: 100%; padding: var(--space-4) 0; background: var(--color-bg); border-bottom: 1px solid var(--color-border); box-shadow: 0 12px 24px -16px rgba(0, 0, 0, .3); }
.ns-header-search[hidden] { display: none; }
.ns-header-search .ns-container { display: flex; gap: var(--space-3); align-items: center; }
.ns-header-search input { flex: 1; min-width: 0; padding: .7rem 1rem; border: 1px solid var(--color-border-strong); border-radius: var(--radius-sm); font: inherit; }

/* Prose sections line up with the other sections: full container, text at reading width. */
.ns-container.ns-prose { max-width: calc(var(--container) + 2 * var(--gutter)); }
.ns-container.ns-prose > * { max-width: var(--measure); }

/* Contact Form 7: fields and button in the site style. */
.wpcf7 { max-width: 40rem; }
.wpcf7 form p { margin: 0 0 var(--space-4); font-family: var(--font-ui); font-size: var(--text-sm); font-weight: var(--weight-medium); }
.wpcf7 .wpcf7-form-control-wrap { display: block; margin-top: var(--space-2); }
.wpcf7 input[type=text], .wpcf7 input[type=email], .wpcf7 input[type=tel], .wpcf7 textarea {
	display: block; width: 100%; padding: .75rem 1rem;
	border: 1px solid var(--color-border-strong); border-radius: var(--radius-sm);
	background: var(--color-bg); color: var(--color-text);
	font-family: var(--font-text); font-size: var(--text-base); font-weight: normal;
}
.wpcf7 textarea { min-height: 10rem; resize: vertical; }
.wpcf7 input:focus, .wpcf7 textarea:focus { outline: 2px solid var(--color-focus); outline-offset: 1px; border-color: var(--color-primary); }
.wpcf7 .wpcf7-turnstile { margin: var(--space-2) 0 var(--space-4); }
.wpcf7 input[type=submit] {
	min-height: 3rem; padding: var(--space-3) var(--space-6);
	border: 1px solid transparent; border-radius: var(--radius-sm);
	background: var(--color-primary); color: var(--color-on-dark);
	font-family: var(--font-ui); font-size: var(--text-sm); font-weight: var(--weight-medium); letter-spacing: .02em; cursor: pointer;
}
.wpcf7 input[type=submit]:hover { background: var(--color-primary-hover); }
.wpcf7 .wpcf7-not-valid-tip { margin-top: var(--space-1); font-size: var(--text-sm); color: var(--color-primary); }
.wpcf7 form .wpcf7-response-output { margin: var(--space-4) 0 0; padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm); font-family: var(--font-ui); font-size: var(--text-sm); }

/* Icon buttons keep their icon on every page: the parent theme gives all buttons padding, which left the icon 0px wide on archive and search pages. */
.ns-icon-btn { padding: 0; }
.ns-icon-btn svg { flex: none; max-width: none; }
/* footer */
/* Bottom bar: the two lines sit side by side, so no paragraph spacing between them. */
.ns-footer-base p + p { margin-top: 0; }
