/* Font Faces - Local fonts to avoid CORS issues */
@font-face {
  font-family: "MADE Evolve Sans";
  font-style: normal;
  font-weight: 400;
  font-display: fallback;
  src: url('/fonts/evolve-sans.woff2') format('woff2');
}

@font-face {
  font-family: "MADE Evolve Sans";
  font-style: normal;
  font-weight: 700;
  font-display: fallback;
  src: url('/fonts/MADE-Evolve-Sans-Bold.otf') format('opentype');
}

@font-face {
  font-family: "Peace Sans";
  font-style: normal;
  font-weight: 400;
  font-display: fallback;
  src: url('/fonts/peace-sans.woff2') format('woff2');
}

@font-face {
  font-family: Anton;
  font-style: normal;
  font-weight: 400;
  font-display: fallback;
  src: url('/fonts/Anton-Regular.woff2') format('woff2');
}

@font-face {
  font-family: Lora;
  font-style: normal;
  font-weight: 400 700;
  font-display: fallback;
  src: url('/fonts/Lora-VariableFont_wght.ttf') format('truetype');
}

/* CSS Variables - Exact from nateerskinesmith.ca */
:root {
  --wp--preset--color--base: #FFFFFF;
  --wp--preset--color--contrast: #111111;
  --wp--preset--color--accent-5: #FBFAF3;
  --wp--preset--color--custom-text: #333333;
  --wp--preset--color--custom-red-primary: #e11f26;
  --wp--preset--color--custom-red-secondary: #871216;
  --wp--preset--font-family--made-evolve-sans: "MADE Evolve Sans";
  --wp--preset--font-family--anton: Anton;
  --wp--preset--font-family--peace-sans: "Peace Sans";
  --wp--preset--font-family--lora: Lora;
  /* Serif for content, sans for UI, distinct sans for header */
  --wp--preset--font-family--ui: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --wp--preset--font-family--header: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --wp--preset--font-size--medium: clamp(1rem, 1rem + ((1vw - 0.2rem) * 0.196), 1.125rem);
  --wp--preset--font-size--large: clamp(1.125rem, 1.125rem + ((1vw - 0.2rem) * 0.392), 1.375rem);
  --wp--preset--font-size--x-large: clamp(1.75rem, 1.75rem + ((1vw - 0.2rem) * 0.392), 2rem);
  --wp--preset--font-size--xx-large: clamp(2.15rem, 2.15rem + ((1vw - 0.2rem) * 1.333), 3rem);
  --wp--preset--spacing--20: 10px;
  --wp--preset--spacing--30: 20px;
  --wp--preset--spacing--40: 30px;
  --wp--preset--spacing--50: clamp(30px, 5vw, 50px);
  --wp--preset--spacing--60: clamp(30px, 7vw, 70px);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: var(--wp--preset--color--accent-5);
  color: var(--wp--preset--color--custom-text);
  font-family: var(--wp--preset--font-family--ui), sans-serif;
  font-size: var(--wp--preset--font-size--medium);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.6;
}

/* Typography - sans for content */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--wp--preset--font-family--ui), sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.25;
  margin: 0;
}

h2 {
  color: #333;
}

p {
  font-family: var(--wp--preset--font-family--ui), sans-serif;
  margin: 0;
}

a {
  color: var(--wp--preset--color--custom-red-primary);
  text-decoration: underline;
}

a:hover {
  color: var(--wp--preset--color--custom-red-secondary);
  text-decoration: none;
}

/* Layout */
.page-wrapper {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-container {
  position: relative;
  width: 100%;
  background-color: #ffffff;
  display: flex;
  height: 100%;
  min-height: 100vh;
  flex-direction: column;
}

/* Header - clean sans for nav/chrome */
.site-header {
  padding: 20px;
  background-color: #ffffff;
  max-width: 1340px;
  margin: 0 auto;
  font-family: var(--wp--preset--font-family--header), sans-serif;
}

.header-inner {

}

@media (max-width: 600px) {
  .header-inner {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}
/* Main Content */
.content-section {
  max-width: 1340px;
  margin: 0 auto;
  padding:0 20px;
  flex: 1;
  display: flex;
}

@media (max-width: 600px) {
  .content-section {
    padding: 0 20px;
    margin-bottom: 20px;
  }
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--wp--preset--spacing--60);
  align-items: stretch;
  width: 100%;
}

.content-main {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--wp--preset--spacing--50);
  padding-top: var(--wp--preset--spacing--50);
  padding-bottom: var(--wp--preset--spacing--50);
}

.content-left {
  flex: 0 0 auto;
}

.content-right {
  flex: 0 0 auto;
}

/* Hero panel - right side; match uncommons.ca minimal white/card */
.hero-panel {
  flex: 0 0 clamp(320px, 42vw, 520px);
  min-width: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fafafa;
  border-radius: 12px;
  padding: var(--wp--preset--spacing--50);
  margin-bottom: 20px;
}

.hero-inner {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Headlines - match uncommons.ca: black title, clean editorial */
.main-headline {
  color: #CC0320;
  font-size: clamp(1.502rem, 1.502rem + ((1vw - 0.2rem) * 1.565), 2.5rem);
  line-height: 1.2;
  margin-bottom: 0;
}

.sub-headline {
  color: #333;
  font-size: clamp(1.092rem, 1.092rem + ((1vw - 0.2rem) * 0.954), 1.7rem);
  line-height: 1.35;
  padding-top: var(--wp--preset--spacing--30);
}

.body-text {
  color: var(--wp--preset--color--custom-text);
  font-size: clamp(1.092rem, 1.092rem + ((1vw - 0.2rem) * 0.954), 1.7rem);
  line-height: 1.5;
  padding-top: var(--wp--preset--spacing--30);
  padding-right: var(--wp--preset--spacing--50);
}

/* Form Styles */
.signup-form {
  font-family: var(--wp--preset--font-family--ui), sans-serif;
  font-size: 16px;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.form-field {
  flex: 1;
  min-width: 140px;
  display: flex;
  flex-direction: column;
}

.form-field.full-width {
  flex-basis: 100%;
}

.form-field label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 14px;
  font-family: var(--wp--preset--font-family--ui), sans-serif;
}

.form-field label .required {
  color: var(--wp--preset--color--custom-red-primary);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid #333;
  border-radius: 16px;
  background-color: #fff;
  color: var(--wp--preset--color--custom-text);
  font-family: var(--wp--preset--font-family--ui), sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: #333;
  box-shadow: 0 0 0 2px rgba(51, 51, 51, 0.2);
}

.form-field textarea {
  resize: vertical;
  min-height: 100px;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #999;
}

.form-navigation {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 16px;
}

/* Primary CTA - match uncommons.ca Subscribe: solid black, white text */
.btn-next {
  padding: 12px 28px;
  border: none;
  border-radius: 16px;
  background-color: #111111;
  color: #ffffff;
  font-family: var(--wp--preset--font-family--ui), sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

.btn-next:hover {
  background-color: #333333;
}

.btn-next:disabled,
.btn-next.pending {
  cursor: not-allowed;
  opacity: 0.7;
}

.btn-next:disabled:hover,
.btn-next.pending:hover {
  background-color: #111111;
}

/* Footer */
.site-footer {
  background-color: var(--wp--preset--color--accent-5);
  padding: var(--wp--preset--spacing--50) 0;

}

.footer-links {
  text-align: center;
  vertical-align: middle;
  margin-bottom: 6px;
  padding: 0 20px;
}

.footer-links a {
  color: var(--wp--preset--color--custom-red-secondary);
  font-family: var(--wp--preset--font-family--ui), sans-serif;
  font-weight: 700;
  font-size: var(--wp--preset--font-size--medium);
}
@media (max-width: 782px) {
  .footer-links {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
  }
  .footer-links span {
    display: none;
  }
  .footer-links a{
    font-size: small;
  }
}

.footer-links span {
  color: var(--wp--preset--color--custom-text);
  margin: 0 8px;
  font-family: var(--wp--preset--font-family--ui), sans-serif;
}

/* Bottom Bar with Logo */
.bottom-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1340px;
  margin: 0 auto;
}

.bottom-bar-bar {
  flex: 1;
  height: 10px;
  background-color: #7A0216;
}

.bottom-bar-logo {
  width: 250px;
  height: 100px;
  margin-left: 40px;
  margin-right: 40px;
  background-image: url('https://nateerskinesmith.ca/wp-content/uploads/2025/03/Logo-Colours.gif');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 782px) {
  .content-grid {
    flex-direction: column;
  }

  .hero-panel {
    flex: 0 0 auto;
    min-height: 280px;
  }

  .content-left,
  .content-right {
    min-width: 100%;
  }

  .bottom-bar-logo {
    width: 150px;
    height: 60px;
    margin-left: 20px;
    margin-right: 20px;
  }
}

@media (max-width: 480px) {
  .form-row {
    flex-direction: column;
  }

  .form-field {
    min-width: 100%;
  }

  .bottom-bar-logo {
    width: 100px;
    height: 50px;
    margin-left: 10px;
    margin-right: 10px;
  }
}
