/* ============================================
   COMPREHENSIVE CSS RESET & RESPONSIVE STYLES
   styles.css — The single stylesheet for both pages
   ============================================ */

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

/* --- HTML & Body Full Bleed --- */
html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: #000000;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* --- Block Element Reset (HTML5) --- */
article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav,
section, summary {
  display: block;
  margin: 0;
  padding: 0;
}

/* --- Media Reset --- */
audio, canvas, progress, video {
  display: inline-block;
  vertical-align: baseline;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}

/* --- Typography Reset --- */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: #000000;
}

p {
  margin: 0;
  padding: 0;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: #000000;
}

/* --- Responsive Typography (Fluid with clamp) --- */
h1 {
  font-size: clamp(1.75rem, 4vw + 0.5rem, 3.5rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.5em;
}

h2 {
  font-size: clamp(1.5rem, 3vw + 0.4rem, 2.75rem);
  letter-spacing: -0.015em;
  margin-bottom: 0.5em;
}

h3 {
  font-size: clamp(1.25rem, 2.5vw + 0.3rem, 2.25rem);
  letter-spacing: -0.01em;
  margin-bottom: 0.4em;
}

h4 {
  font-size: clamp(1.1rem, 2vw + 0.25rem, 1.75rem);
  margin-bottom: 0.4em;
}

h5 {
  font-size: clamp(1rem, 1.5vw + 0.2rem, 1.375rem);
  margin-bottom: 0.3em;
}

h6 {
  font-size: clamp(0.875rem, 1.25vw + 0.15rem, 1.125rem);
  margin-bottom: 0.3em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

p {
  font-size: clamp(0.9375rem, 1vw + 0.25rem, 1.125rem);
  margin-bottom: 1em;
}

/* --- List Reset --- */
ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

li {
  margin: 0;
  padding: 0;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: clamp(0.9375rem, 1vw + 0.25rem, 1.125rem);
  line-height: 1.6;
}

/* --- Link Reset --- */
a {
  margin: 0;
  padding: 0;
  color: inherit;
  text-decoration: none;
  background-color: transparent;
  -webkit-text-decoration-skip: objects;
}

a:hover,
a:focus {
  outline: none;
}

/* --- Form Element Reset --- */
button, input, optgroup, select, textarea {
  margin: 0;
  padding: 0;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 100%;
  line-height: 1.6;
  border: none;
  outline: none;
  background: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  margin: 0;
}

/* --- Table Reset --- */
table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

th, td {
  margin: 0;
  padding: 0;
  text-align: left;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* --- Misc Reset --- */
blockquote, q {
  quotes: none;
  margin: 0;
  padding: 0;
}

blockquote::before, blockquote::after,
q::before, q::after {
  content: '';
  content: none;
}

hr {
  margin: 0;
  padding: 0;
  border: 0;
  height: 1px;
  background-color: #e0e0e0;
}

address {
  font-style: normal;
  margin: 0;
  padding: 0;
}

small {
  font-size: clamp(0.75rem, 0.8vw + 0.2rem, 0.875rem);
}

strong, b {
  font-weight: 700;
}

em, i {
  font-style: italic;
}

code, kbd, pre, samp {
  font-family: 'Courier New', Courier, monospace;
  font-size: clamp(0.8125rem, 0.9vw + 0.2rem, 1rem);
}

pre {
  overflow-x: auto;
  white-space: pre-wrap;
  word-wrap: break-word;
}

/* --- Accessibility --- */
:focus-visible {
  outline: 2px solid #000000;
  outline-offset: 2px;
}

/* ============================================
   SITE LAYOUT
   ============================================ */

/* --- Site Wrapper (flexbox for sticky footer) --- */
.site-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* --- Header (Full Bleed Black) --- */
.site-header {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  background-color: #000000;
  color: #ffffff;
  z-index: 1000;
}

.site-header-inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  width: 100%;
  margin: 0;
  padding: 1rem 1.5rem;
}

@media (min-width: 768px) {
  .site-header-inner {
    padding: 1.25rem 2.5rem;
  }
}

@media (min-width: 1200px) {
  .site-header-inner {
    padding: 1.25rem 3rem;
  }
}

/* All text inside header is white */
.site-header h1,
.site-header h2,
.site-header h3,
.site-header h4,
.site-header h5,
.site-header h6,
.site-header p,
.site-header span,
.site-header a {
  color: #ffffff;
  margin-bottom: 0;
}

.site-logo {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: clamp(1rem, 1.5vw + 0.25rem, 1.375rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* --- Hamburger Button --- */
.hamburger-btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 36px;
  height: 36px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  margin: 0;
  position: relative;
  z-index: 1100;
  -webkit-tap-highlight-color: transparent;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-transform-origin: center;
  -moz-transform-origin: center;
  transform-origin: center;
}

.hamburger-line + .hamburger-line {
  margin-top: 5px;
}

/* Hamburger → X animation */
.hamburger-btn.is-open .hamburger-line:nth-child(1) {
  -webkit-transform: translateY(7px) rotate(45deg);
  -moz-transform: translateY(7px) rotate(45deg);
  -ms-transform: translateY(7px) rotate(45deg);
  -o-transform: translateY(7px) rotate(45deg);
  transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.is-open .hamburger-line:nth-child(2) {
  opacity: 0;
  -webkit-transform: scaleX(0);
  -moz-transform: scaleX(0);
  -ms-transform: scaleX(0);
  -o-transform: scaleX(0);
  transform: scaleX(0);
}

.hamburger-btn.is-open .hamburger-line:nth-child(3) {
  -webkit-transform: translateY(-7px) rotate(-45deg);
  -moz-transform: translateY(-7px) rotate(-45deg);
  -ms-transform: translateY(-7px) rotate(-45deg);
  -o-transform: translateY(-7px) rotate(-45deg);
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Navigation Overlay --- */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.97);
  z-index: 1050;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  -moz-transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  -o-transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.nav-overlay-links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 2rem;
}

.nav-overlay-link {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: clamp(1.5rem, 3vw + 0.5rem, 2.5rem);
  font-weight: 300;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  -webkit-transition: opacity 0.2s ease;
  -moz-transition: opacity 0.2s ease;
  -o-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
  position: relative;
}

.nav-overlay-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #ffffff;
  -webkit-transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  -moz-transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  -o-transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-overlay-link:hover::after,
.nav-overlay-link:focus::after {
  width: 100%;
}

.nav-overlay-link:hover,
.nav-overlay-link:focus {
  opacity: 0.7;
}

.nav-overlay-link.active {
  opacity: 1;
  font-weight: 500;
}

.nav-overlay-link.active::after {
  width: 100%;
}

/* --- Main Content Area (White) --- */
.site-main {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  width: 100%;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  color: #000000;
}

.site-content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

@media (min-width: 768px) {
  .site-content {
    padding: 3rem 2.5rem;
  }
}

@media (min-width: 1200px) {
  .site-content {
    padding: 4rem 3rem;
  }
}

/* Ensure all content text is black */
.site-main h1,
.site-main h2,
.site-main h3,
.site-main h4,
.site-main h5,
.site-main h6,
.site-main p {
  color: #000000;
}

/* --- Content Sections --- */
.content-section {
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .content-section {
    margin-bottom: 3.5rem;
  }
}

.content-section:last-child {
  margin-bottom: 0;
}

.content-divider {
  width: 100%;
  height: 1px;
  background-color: #e0e0e0;
  margin: 2rem 0;
}

@media (min-width: 768px) {
  .content-divider {
    margin: 3rem 0;
  }
}

/* --- Grid Layouts --- */
.two-col {
  display: -webkit-box;
  display: -ms-flexbox;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

.three-col {
  display: -webkit-box;
  display: -ms-flexbox;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .three-col {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
  }
}

/* --- Footer (Full Bleed Black) --- */
.site-footer {
  width: 100%;
  margin: 0;
  padding: 0;
  background-color: #000000;
  color: #ffffff;
}

.site-footer-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem;
}

@media (min-width: 768px) {
  .site-footer-inner {
    padding: 2rem 2.5rem;
  }
}

@media (min-width: 1200px) {
  .site-footer-inner {
    padding: 2rem 3rem;
  }
}

/* All text inside footer is white */
.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer h5,
.site-footer h6,
.site-footer p,
.site-footer span,
.site-footer a,
.site-footer li {
  color: #ffffff;
  margin-bottom: 0;
}

.site-footer p {
  font-size: clamp(0.8125rem, 0.9vw + 0.15rem, 0.9375rem);
  opacity: 0.8;
}

.footer-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ============================================
   CONTACT FORM STYLES
   ============================================ */

.contact-form {
  width: 100%;
  max-width: 640px;
  margin: 0;
  padding: 0;
}

.contact-form-group {
  margin-bottom: 1.5rem;
}

.contact-form-group:last-of-type {
  margin-bottom: 2rem;
}

.contact-form-label {
  display: block;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: clamp(0.8125rem, 0.9vw + 0.15rem, 0.9375rem);
  font-weight: 600;
  color: #000000;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.contact-form-input {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: clamp(0.9375rem, 1vw + 0.2rem, 1.0625rem);
  font-weight: 400;
  line-height: 1.6;
  color: #000000;
  background-color: #ffffff;
  border: 1px solid #000000;
  border-radius: 0;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -moz-transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -o-transition: border-color 0.2s ease, box-shadow 0.2s ease;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form-input::-webkit-input-placeholder { color: #999999; opacity: 1; }
.contact-form-input::-moz-placeholder { color: #999999; opacity: 1; }
.contact-form-input:-ms-input-placeholder { color: #999999; opacity: 1; }
.contact-form-input::placeholder { color: #999999; opacity: 1; }

.contact-form-input:focus {
  border-color: #000000;
  box-shadow: 0 0 0 1px #000000;
  outline: none;
}

.contact-form-input.has-error {
  border-color: #cc0000;
}

.contact-form-input.has-error:focus {
  border-color: #cc0000;
  box-shadow: 0 0 0 1px #cc0000;
}

.contact-form-textarea {
  resize: vertical;
  min-height: 140px;
}

@media (min-width: 768px) {
  .contact-form-textarea {
    min-height: 160px;
  }
}

.contact-form-error {
  display: block;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: clamp(0.75rem, 0.8vw + 0.15rem, 0.8125rem);
  font-weight: 400;
  color: #cc0000;
  margin-top: 0.375rem;
  line-height: 1.4;
}

.contact-form-actions {
  margin: 0;
  padding: 0;
}

/* --- Submit Button (Black with White Text) --- */
.contact-form-btn {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 0.875rem 2.5rem;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: clamp(0.875rem, 0.9vw + 0.15rem, 1rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  background-color: #000000;
  border: 2px solid #000000;
  border-radius: 0;
  cursor: pointer;
  -webkit-transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
  -moz-transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
  -o-transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
  transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  min-width: 180px;
}

.contact-form-btn:hover {
  opacity: 0.85;
}

.contact-form-btn:active {
  opacity: 0.7;
}

.contact-form-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.contact-form-btn:focus-visible {
  outline: 2px solid #000000;
  outline-offset: 3px;
}

/* --- Outline Button Variant --- */
.contact-form-btn-outline {
  color: #000000;
  background-color: #ffffff;
  border: 2px solid #000000;
}

.contact-form-btn-outline:hover {
  background-color: #000000;
  color: #ffffff;
  opacity: 1;
}

/* --- Loading Spinner --- */
.contact-form-btn-loading {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 0.5rem;
}

.contact-form-spinner {
  display: inline-block;
  -webkit-animation: spin 0.8s linear infinite;
  -moz-animation: spin 0.8s linear infinite;
  -o-animation: spin 0.8s linear infinite;
  animation: spin 0.8s linear infinite;
}

@-webkit-keyframes spin {
  from { -webkit-transform: rotate(0deg); }
  to { -webkit-transform: rotate(360deg); }
}

@-moz-keyframes spin {
  from { -moz-transform: rotate(0deg); }
  to { -moz-transform: rotate(360deg); }
}

@-o-keyframes spin {
  from { -o-transform: rotate(0deg); }
  to { -o-transform: rotate(360deg); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* --- Success State --- */
.contact-form-success {
  width: 100%;
  max-width: 640px;
  margin: 0;
  padding: 2.5rem 0;
  text-align: center;
}

@media (min-width: 768px) {
  .contact-form-success {
    padding: 3rem 0;
  }
}

.contact-form-success-icon {
  margin-bottom: 1.25rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.contact-form-success-icon svg {
  display: inline-block;
}

.contact-form-success-title {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: clamp(1.25rem, 2vw + 0.3rem, 1.75rem);
  font-weight: 700;
  color: #000000;
  margin-bottom: 0.5rem;
}

.contact-form-success-text {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: clamp(0.9375rem, 1vw + 0.25rem, 1.125rem);
  color: #000000;
  margin-bottom: 2rem;
}

/* --- Print Styles --- */
@media print {
  .site-header,
  .site-footer,
  .hamburger-btn,
  .nav-overlay {
    display: none !important;
  }

  body {
    color: #000000;
    background: #ffffff;
  }

  .site-main {
    padding: 0;
  }

  .contact-form-btn {
    display: none !important;
  }
}