/*
  Halifax Innovation Studio Website Styles
  Mobile‑first design using a simple one‑column layout.
*/

:root {
  --brand-gold: #f7b801;
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Prevent any image from ever exceeding its container — key mobile fix */
img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

html,
body {
  width: 100%;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #0d1b2a;
  background-color: #ffffff;
}

/* Container for content sections */
.container {
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
}

/* Hero Section */
.hero {
  background-color: #0d1b2a; /* deep navy */
  color: #ffffff;
  padding: 3rem 0 4rem;
  text-align: center;
}

.hero .studio-name {
  font-size: 0.875rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.80);
  margin-bottom: 0.75rem;
}

.hero .tagline {
  font-size: 2rem;
  font-weight: bold;
  font-style: normal;
  margin-bottom: 1rem;
  color: #f7b801; /* beacon gold accent */
  line-height: 1.2;
}

.hero-logo {
  display: block;
  width: min(90vw, 560px);
  max-width: 100%;
  height: auto;
  margin: 0 auto 0.75rem;
}

@media (max-width: 768px) {
  .hero-logo {
    width: min(88vw, 340px);
  }
}

.hero .intro {
  font-size: 1rem;
  margin-top: 0;
  margin-bottom: 1.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Visually hidden — accessible to screen readers and search engines */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Buttons */
.btn {
  display: inline-block;
  text-decoration: none;
  padding: 0.75rem 1.25rem;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.2s ease-in-out,
    color 0.2s ease-in-out,
    border 0.2s ease-in-out;
  margin: 0.25rem;
}

.btn.primary {
  background-color: #f7b801; /* gold */
  color: #0d1b2a;
}

.btn.secondary {
  background-color: transparent;
  color: #f7b801;
  border: 2px solid #f7b801;
}

.btn.primary:hover {
  background-color: #e5a700;
}

.btn.secondary:hover {
  background-color: #f7b801;
  color: #0d1b2a;
}

.btn:focus-visible {
  outline: 2px solid #f7b801;
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(13, 27, 42, 0.35);
}

/* Section styling */
section {
  padding: 2rem 0;
  background-color: #ffffff;
}

.section-alt {
  background-color: #f5f7f9;
}

section h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-align: center;
  color: #0d1b2a;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.section-icon {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
}

/* Products intro copy (used on products.html catalogue) */
.products-intro {
  max-width: 640px;
  margin: 0.75rem auto 2rem;
  text-align: center;
  color: #3d5166;
  font-size: 1rem;
  line-height: 1.7;
}

/* Homepage products teaser */
.products-teaser {
  text-align: center;
}

.products-teaser-copy {
  max-width: 560px;
  margin: 0.75rem auto 1.75rem;
  color: #3d5166;
  font-size: 1rem;
  line-height: 1.7;
}

/* Product Card — catalogue style */
.product-card {
  background-color: #ffffff;
  border: 1px solid #e0e4e8;
  border-radius: 6px;
  margin-top: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

/* Full-width navy header bar */
.product-card-header {
  background-color: #0d1b2a;
  padding: 1rem 1.5rem;
}

.product-card-eyebrow {
  font-size: 0.6875rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #f7b801;
  margin-bottom: 0.35rem;
}

.product-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

/* Card body — white content area */
.product-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

/* Status row */
.product-status {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid #e0e4e8;
}

.product-status-label {
  font-size: 0.6875rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #5a6a7a;
  white-space: nowrap;
}

.product-status-value {
  font-size: 0.9375rem;
  color: #0d1b2a;
  font-weight: 600;
}

.product-description {
  margin-bottom: 1rem;
  color: #333333;
}

.product-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

/* Future Products placeholder */
.future-products {
  margin-top: 1.25rem;
  border: 2px dashed #c8d0d8;
  border-radius: 6px;
  padding: 1.5rem;
  text-align: center;
  background-color: #f5f7f9;
}

.future-products-heading {
  font-size: 0.8125rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #5a6a7a;
  margin-bottom: 0.5rem;
}

.future-products p {
  color: #5a6a7a;
  font-size: 0.9rem;
  max-width: 480px;
  margin: 0 auto;
}

/* Clarity Pillars — Process Diagram */
.clarity-pillars {
  padding: 2.5rem 0 3rem;
}

.process-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2rem;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.process-step-icon {
  color: #f7b801;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.process-step-icon svg {
  display: block;
}

.process-step-label {
  font-size: 1rem;
  font-weight: bold;
  color: #0d1b2a;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0;
}

.process-step-vline {
  width: 2px;
  height: 1.25rem;
  background-color: #f7b801;
  margin: 0.625rem 0;
}

.process-step-text {
  color: #333333;
  font-size: 0.9375rem;
}

/* Connector: downward arrow on mobile (default) */
.process-connector {
  color: #f7b801;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.375rem 0;
  transform: rotate(90deg);
}

/* Desktop: horizontal layout with rightward arrows */
@media screen and (min-width: 768px) {
  .process-diagram {
    flex-direction: row;
    align-items: flex-start;
  }

  .process-step {
    flex: 1;
  }

  .process-connector {
    flex: 0 0 auto;
    width: 2.5rem;
    padding: 0;
    transform: none;
    /* vertically aligns arrow with centre of the icon + label area */
    margin-top: 1.5rem;
  }
}

/* Decision metadata block */
.product-meta {
  border-left: 3px solid #f7b801;
  padding-left: 0.75rem;
  margin: 0.75rem 0 1rem;
}

.product-meta-label {
  font-size: 0.6875rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #5a6a7a;
  margin-bottom: 0.2rem;
}

.product-meta-value {
  font-size: 0.9375rem;
  color: #0d1b2a;
}

/* Atlantic Origin Section */
.atlantic-origin p + p {
  margin-top: 1rem;
}

/* Founder Experience */
.founder-experience p {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.founder-experience p + p,
.founder-experience ul + p {
  margin-top: 1.25rem;
}

.founder-experience .credential-list {
  margin-top: 1.25rem;
}

.founder-closing {
  margin-top: 1.75rem !important;
  font-style: normal;
  opacity: 0.85;
}

/* Contact Section */
.contact p {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.contact a {
  color: #0d1b2a;
  text-decoration: underline;
}

.contact a:hover {
  color: #f7b801;
}

.footer {
  background-color: #0d1b2a;
  color: #ffffff;
  text-align: center;
  padding: 1rem 0;
  font-size: 0.875rem;
}

/* Responsive design for larger screens */
@media screen and (min-width: 768px) {
  .hero .studio-name {
    font-size: 1rem;
  }
  .hero .tagline {
    font-size: 2.5rem;
  }
  .hero .intro {
    font-size: 1.125rem;
  }
  section h2 {
    font-size: 1.75rem;
  }
  .product-card-header {
    padding: 1.25rem 2rem;
  }
  .product-card-body {
    padding: 1.5rem 2rem 2rem;
  }
  .btn {
    padding: 0.75rem 1.5rem;
  }
}

/* ============================================================
   Site Navigation
   ============================================================ */

.site-nav {
  background-color: #0d1b2a;
  padding: 0.75rem 0;
}

.site-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.875rem;
}

.site-nav a:hover {
  color: #f7b801;
}

.site-nav a.active {
  color: #f7b801;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 1;
  min-width: 0;
}

.nav-logo {
  width: 2rem;      /* 32px — matches HTML width/height attributes */
  height: 2rem;
  flex-shrink: 0;
  display: block;
}

.nav-brand-name {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


.site-nav .nav-links {
  display: flex;
  gap: 1.5rem;
  flex-shrink: 0;
}

@media screen and (max-width: 340px) {
  .site-nav a {
    font-size: 0.75rem;
  }
  .site-nav .nav-links {
    gap: 0.75rem;
  }
}

/* ============================================================
   Narrow container
   ============================================================ */

.container-narrow {
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================================
   Venture Services — Hero
   ============================================================ */

.vs-eyebrow,
.page-eyebrow {
  color: #f7b801;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

/* ============================================================
   Venture Services — Core Question
   ============================================================ */

.vs-core-question {
  text-align: center;
}

.vs-core-question .container > p {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
  color: #333333;
}

.core-question-list {
  list-style: none;
  padding: 0 0 0 1.5rem;
  margin: 1.5rem auto;
  max-width: 480px;
  border-left: 4px solid #f7b801;
  text-align: left;
}

.core-question-list li {
  padding: 0.5rem 0;
  color: #333333;
}

.core-question-list li + li {
  border-top: 1px solid #e0e4e8;
}

/* ============================================================
   Venture Services — Services section
   ============================================================ */

.services-intro {
  text-align: center;
  color: #333333;
  margin-bottom: 1.5rem;
}

.service-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.service-card-header h3 {
  margin-bottom: 0;
}

.service-purpose {
  font-weight: bold;
  color: #0d1b2a;
  margin-bottom: 0.5rem;
}

.service-outcome {
  font-size: 0.85rem;
  color: #f7b801;
  font-style: italic;
  font-weight: bold;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e0e4e8;
}

.badge-flagship {
  display: inline-block;
  background-color: #f7b801;
  color: #0d1b2a;
  font-size: 0.7rem;
  font-weight: bold;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  flex-shrink: 0;
}

.badge-selective {
  display: inline-block;
  background-color: #0d1b2a;
  color: #f7b801;
  font-size: 0.7rem;
  font-weight: bold;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid #f7b801;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ============================================================
   Venture Services — Blueprint Spotlight
   ============================================================ */

.section-label {
  color: #f7b801;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  font-weight: bold;
  margin-bottom: 0.5rem;
  text-align: center;
}

.vs-blueprint h2 {
  text-align: center;
}

.vs-blueprint > .container > p {
  color: #333333;
  margin-bottom: 1rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.deliverables-card {
  background-color: #ffffff;
  border-left: 4px solid #f7b801;
  border-radius: 0 6px 6px 0;
  padding: 1.5rem;
  margin: 1.5rem auto;
  max-width: 640px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.deliverables-card h3 {
  font-size: 1rem;
  color: #0d1b2a;
  margin-bottom: 1rem;
}

.deliverables-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.deliverable-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.35rem 0;
  color: #333333;
}

.deliverable-item::before {
  content: "✓";
  color: #f7b801;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 0.05em;
}

.vs-blueprint .blueprint-cta {
  text-align: center;
  margin-top: 1.5rem;
}

/* ============================================================
   Venture Services — Founder Credibility
   ============================================================ */

.vs-founder > .container > p {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #333333;
  text-align: center;
  margin-bottom: 1.5rem;
}

.credential-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0 auto;
}

.credential-item {
  background-color: #ffffff;
  border: 1px solid #e0e4e8;
  border-radius: 4px;
  padding: 0.375rem 0.875rem;
  font-size: 0.875rem;
  color: #0d1b2a;
  font-weight: bold;
}

/* ============================================================
   Venture Services — Final CTA
   ============================================================ */

.vs-cta {
  background-color: #0d1b2a !important;
  color: #ffffff;
  text-align: center;
  padding: 3rem 0 4rem;
}

.vs-cta h2 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.vs-cta .cta-sub {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.vs-cta .email-fallback {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

.vs-cta .email-fallback a {
  color: #f7b801;
  text-decoration: underline;
}

/* ============================================================
   Let's Talk — Desktop tab
   ============================================================ */

.lets-talk-tab {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background-color: #0d1b2a;
  color: #f7b801;
  padding: 0.875rem 0.625rem;
  writing-mode: vertical-rl;
  border-radius: 6px 0 0 6px;
  cursor: pointer;
  z-index: 900;
  font-weight: bold;
  font-size: 0.875rem;
  font-family: Arial, sans-serif;
  border: none;
  letter-spacing: 0.05em;
  display: block;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.lets-talk-tab:hover {
  background-color: #f7b801;
  color: #0d1b2a;
}

/* ============================================================
   Let's Talk — Mobile button
   ============================================================ */

.lets-talk-mobile-btn {
  position: fixed;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  background-color: #f7b801;
  color: #0d1b2a;
  font-weight: bold;
  font-size: 1rem;
  padding: 1rem;
  border-radius: 6px 6px 0 0;
  border: none;
  cursor: pointer;
  z-index: 900;
  min-height: 52px;
  display: none;
  font-family: Arial, sans-serif;
  text-align: center;
  transition: background-color 0.2s ease;
}

.lets-talk-mobile-btn:hover {
  background-color: #e5a700;
}

@media screen and (max-width: 767px) {
  .lets-talk-tab {
    display: none;
  }
  .lets-talk-mobile-btn {
    display: block;
  }
}

/* ============================================================
   Let's Talk — Overlay
   ============================================================ */

.lets-talk-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 910;
  display: none;
}

.lets-talk-overlay.is-visible {
  display: block;
}

/* ============================================================
   Let's Talk — Panel
   ============================================================ */

.lets-talk-panel {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 380px;
  background-color: #ffffff;
  z-index: 920;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.lets-talk-panel.is-open {
  transform: translateX(0);
}

@media screen and (max-width: 479px) {
  .lets-talk-panel {
    width: 100%;
  }
}

/* Panel header */
.lets-talk-panel-header {
  background-color: #0d1b2a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  flex-shrink: 0;
}

.lets-talk-panel-header h2 {
  color: #ffffff;
  font-size: 1.05rem;
  margin: 0;
  text-align: left;
  line-height: 1.3;
}

.lets-talk-close {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  line-height: 1;
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.lets-talk-close:hover {
  color: #f7b801;
}

/* Panel body */
.lets-talk-panel-body {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
}

.lets-talk-panel-body .supporting-text {
  color: #333333;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

/* ============================================================
   Let's Talk — Form
   ============================================================ */

.lets-talk-form .form-group {
  margin-bottom: 1rem;
}

.lets-talk-form label {
  display: block;
  font-weight: bold;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
  color: #0d1b2a;
}

.lets-talk-form input,
.lets-talk-form textarea,
.lets-talk-form select {
  display: block;
  width: 100%;
  border: 1px solid #e0e4e8;
  border-radius: 4px;
  padding: 0.625rem;
  font-size: 1rem;
  font-family: Arial, sans-serif;
  color: #0d1b2a;
  background-color: #ffffff;
}

.lets-talk-form input:focus,
.lets-talk-form textarea:focus,
.lets-talk-form select:focus {
  outline: 2px solid #f7b801;
  outline-offset: 2px;
}

.optional-label {
  font-weight: normal;
  color: #666666;
  font-size: 0.8rem;
}

.lt-turnstile-wrap {
  margin-bottom: 1rem;
}

.lets-talk-submit {
  display: block;
  width: 100%;
  background-color: #f7b801;
  color: #0d1b2a;
  border: none;
  padding: 0.75rem 1.25rem;
  border-radius: 4px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 0.5rem;
  font-family: Arial, sans-serif;
  transition: background-color 0.2s ease;
}

.lets-talk-submit:hover {
  background-color: #e5a700;
}

.lets-talk-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.lets-talk-error {
  color: #c0392b;
  font-size: 0.875rem;
  margin-top: 0.75rem;
  display: none;
}

/* ============================================================
   Let's Talk — Success state
   ============================================================ */

.lets-talk-success {
  text-align: center;
  padding: 2rem 1rem;
  display: none;
}

.success-check {
  font-size: 3rem;
  color: #f7b801;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.lets-talk-success h3 {
  color: #0d1b2a;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.lets-talk-success p {
  color: #333333;
  font-size: 0.9rem;
}

/* ============================================================
   Mobile — bottom padding for Let's Talk fixed button
   ============================================================ */

@media screen and (max-width: 767px) {
  .footer {
    padding-bottom: 80px;
  }
  .vs-cta {
    padding-bottom: 100px;
  }
}