@charset "UTF-8";

/* =========================================
   Base Document & Typography
   ========================================= */
html,
body {
  background-color: var(--bg-color);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.5;
  font-size: var(--text-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.3;
  margin-bottom: var(--space-sm);
  text-wrap: pretty;
}

h1 {
  font-size: var(--text-xxl);
  text-transform: uppercase;
  letter-spacing: 0.1rem;
}

h2 {
  font-size: var(--text-xl);
  color: var(--accent-color1);
}

.pretitle {
  font-size: var(--text-lg);
  letter-spacing: 0.05rem;
}

p {
  margin-bottom: var(--space-sm);
  text-wrap: pretty;
}

.b {
  font-weight: 600;
}
.i {
  font-style: italic;
}

ol,
ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding-left: 2rem;
}

ol {
  list-style: decimal outside;
}
ul {
  list-style: square outside;
}

/* =========================================
   Interactive Elements & Links
   ========================================= */
a {
  cursor: pointer;
  color: inherit;
  display: inline;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1.3px;
  text-underline-offset: 4px;
  transition:
    color var(--transition-smooth),
    text-decoration-color var(--transition-smooth);
}

a:hover {
  text-decoration-color: var(--accent-color2);
}

a:active {
  color: var(--accent-color1);
}

.btn {
  display: inline-block;
  text-align: center;
  padding: 0.9rem 1.75rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.04rem;
  border-radius: 6px;
  border: none;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(30, 31, 33, 0.06);
  transition:
    transform var(--transition-smooth),
    box-shadow var(--transition-smooth),
    background-color var(--transition-smooth);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(30, 31, 33, 0.14);
}

.btn:active {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(30, 31, 33, 0.1);
}

.btn-primary {
  background: var(--accent-color2);
  color: var(--text-secondary);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-sm);
  background: var(--text-secondary);
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 4px;
  z-index: 9999;
  text-decoration: none;
  transition: top 0.2s ease-in-out;
}

.skip-link:focus {
  top: var(--space-sm);
  outline: 2px solid var(--accent-color2);
}

/* =========================================
   Global Header & Identity
   ========================================= */
.global-header {
  position: relative;
  padding: var(--space-sm);
  display: flex;
  justify-content: center;
  align-items: center;
}

.global-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: var(--space-md);
  right: var(--space-md);
  height: 1.5px;
  /*background-color: rgba(142, 74, 59, 0.5);*/
  background-color: var(--accent-color2);
  pointer-events: none;
}

.brand-identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  transform: none !important;
  box-shadow: none !important;
  opacity: 1 !important;
}

.logo {
  width: clamp(140px, 16vw, 220px);
  height: auto;
}

.logo img {
  width: 100%;
  height: auto;
  transition:
    transform var(--transition-smooth),
    filter var(--transition-smooth);
}

.brand-identity:hover .logo img {
  transform: translateY(-2px);
  filter: drop-shadow(0 6px 14px rgba(30, 31, 33, 0.12));
}

.brand-identity:active .logo img {
  transform: translateY(0);
  filter: drop-shadow(0 2px 4px rgba(30, 31, 33, 0.08));
}

/* =========================================
   Hero Split Section (Mobile Flow)
   ========================================= */
.hero-split {
  padding: 0;
  margin: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.hero-content {
  padding: var(--space-md) var(--space-sm);
  display: flex;
  flex-direction: column;
  max-width: 640px;
  margin: 0 auto; /* Centers the 640px container evenly in single-column view */
  text-align: center;
}

.hero-cta-group {
  margin-top: var(--space-sm);
}

.hero-visual {
  width: 100%;
  margin: 0;
  padding: 0;
}

.hero-bg-visual {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-image: url("/assets/products/hero-pies-mobile.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  /*background-color: #eee9dc;*/
}

/* =========================================
   Offerings Section (Pastry & Brews)
   ========================================= */
.offerings-section {
  padding: var(--space-lg) var(--space-sm);
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-md);
}

.offerings-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.offering-card {
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(193, 155, 57, 0.35);
  display: flex;
  flex-direction: column;
  /*transition:
    transform var(--transition-smooth),
    box-shadow var(--transition-smooth),
    border-color var(--transition-smooth);*/
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(30, 31, 33, 0.09);
}

/*.offering-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(30, 31, 33, 0.09);
  border-color: rgba(193, 155, 57, 0.35);
}*/

.card-bg-visual {
  width: 100%;
  aspect-ratio: 16 / 10;
  background-color: #eee9dc;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.card-pie {
  background-image: url("/assets/products/card-pies.jpg");
}
.card-bread {
  background-image: url("/assets/products/card-breads.jpg");
}
.card-coffee {
  background-image: url("/assets/products/card-coffee.jpg");
}

.card-body {
  padding: var(--space-sm);
}

.card-body h3 {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

/* =========================================
   Newsletter Capture Section
   ========================================= */
.newsletter-section {
  padding: var(--space-md) var(--space-sm) var(--space-xl);
  max-width: 800px;
  margin: 0 auto;
}

.newsletter-card {
  background-color: var(--accent-color3);
  border: 1px solid rgba(142, 74, 59, 0.5);
  border-radius: 12px;
  padding: var(--space-md) var(--space-sm);
  text-align: center;
}

.newsletter-text {
  max-width: 580px;
  margin: 0 auto var(--space-md);
}

.capture-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-fields {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  text-align: left;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.form-group input {
  padding: 0.85rem 1rem;
  font-size: 1rem;
  border: 1px solid rgba(42, 60, 52, 0.2);
  border-radius: 5px;
  background-color: #ffffff;
  color: var(--text-primary);
  font-family: var(--font-body);
}

.form-group input:focus {
  outline: 2px solid var(--accent-color2);
}

.form-submit {
  width: 100%;
}

.privacy-note {
  font-size: 0.8rem;
  color: #666666;
  margin-top: 0.75rem;
  margin-bottom: 0;
}

/* =========================================
   Global Footer
   ========================================= */
.global-footer {
  border-top: none;
  padding: var(--space-lg) var(--space-sm);
  background-color: var(--accent-color4);
  color: var(--bg-color);
  font-size: 0.9rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-sm);
}

.footer-address {
  font-style: normal;
  margin-top: 0.25rem;
}

.footer-address a {
  color: inherit;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.875rem;
}

.footer-social a {
  color: var(--accent-color2);
  font-weight: 600;
}

.footer-social a:hover {
  color: var(--accent-color2);
}

.separator {
  color: var(--bg-color);
  opacity: 0.6;
}

.footer-legal {
  color: var(--bg-color);
  opacity: 0.8;
  font-size: 0.8rem;
}

/* =========================================
   Thank You Page Section
   ========================================= */
.thank-you-section {
  padding: var(--space-lg) var(--space-sm) var(--space-xl);
  min-height: calc(100vh - 360px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.thank-you-card {
  background-color: #f3efe6;
  border: 1px solid rgba(142, 74, 59, 0.45);
  border-radius: 12px;
  padding: var(--space-md) var(--space-sm);
  max-width: 680px;
  width: 100%;
  text-align: center;
  box-shadow: 0 12px 28px rgba(30, 31, 33, 0.06);
}

.thank-you-card h1 {
  font-size: var(--text-xl);
  color: var(--text-secondary);
  margin-top: 0.5rem;
  margin-bottom: var(--space-sm);
}

.thank-you-lead {
  font-size: var(--text-lg);
  color: var(--accent-color1);
  font-family: var(--font-heading);
  font-weight: 600;
}

.thank-you-body {
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.thank-you-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.social-follow-prompt {
  font-size: 0.875rem;
  color: #666666;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.social-follow-prompt a {
  color: var(--text-secondary);
  font-weight: 600;
}

/* =========================================
   TABLET VIEWPORT (735px and up)
   ========================================= */
@media only screen and (min-width: 735px) {
  .hero-content {
    max-width: 100%; /* Removes the 640px bottleneck in tablet single-column view */
    padding: var(--space-lg) var(--space-md);
    margin: 0;
  }
  .offerings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .offering-card:last-child {
    grid-column: span 2;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }

  .form-fields {
    flex-direction: row;
  }

  .form-group {
    flex: 1;
  }

  .form-submit {
    width: auto;
    min-width: 260px;
    align-self: center;
  }

  .thank-you-card {
    padding: var(--space-lg) var(--space-md);
  }
}

/* =========================================
   DESKTOP VIEWPORT (1068px and up)
   ========================================= */
@media only screen and (min-width: 1068px) {
  .hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    max-width: none;
    margin: 0;
    padding: 0;
  }

  .hero-content {
    max-width: none;
    margin: 0;
    text-align: left;
    justify-self: stretch;
    justify-content: flex-start;
    /* Locks text to the 1200px container line on the left */
    padding-left: max(var(--space-sm), calc(100% - 600px + var(--space-sm)));
  }

  .hero-visual {
    height: 100%;
  }

  .hero-bg-visual {
    height: 100%;
    aspect-ratio: auto;
    background-image: url("/assets/products/hero-pies.png");
    background-position: left top;
  }

  .offerings-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .offering-card:last-child {
    grid-column: span 1;
    max-width: none;
    margin: 0;
  }

  .newsletter-card {
    padding: var(--space-lg) var(--space-md);
  }

  .footer-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }

  .footer-brand {
    text-align: left;
  }

  .footer-social {
    justify-self: center;
  }

  .footer-legal {
    text-align: right;
  }
}

/* =========================================
   ULTRA-WIDE MONITORS (1921px and up)
   ========================================= */
@media only screen and (min-width: 1921px) {
  .global-header::after {
    left: var(--space-xl);
    right: var(--space-xl);
  }

  .offerings-section,
  .footer-inner {
    max-width: 1440px;
  }

  body {
    font-size: 1.25rem;
  }

  .global-header {
    padding: var(--space-md);
  }

  .hero-content {
    padding-left: max(var(--space-sm), calc(100% - 720px + var(--space-sm)));
  }

  .hero-bg-visual {
    background-position: left center;
  }
}
