/* Hadassah Enterprises Inc | hadassahinc.com
   Design refresh 2026-05-16 (Amend 4: visual refresh against May-16 design pack)
   Palette: Ink #0F1D3A | Brass #C9A961 | Brass-Dark #b89550 | Linen #FAF8F3 | Paper #F5F3EE
*/

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

:root {
  --ink:          #0F1D3A;
  --brass:        #C9A961;
  --brass-dark:   #b89550;
  --linen:        #FAF8F3;
  --paper:        #F5F3EE;
  --ink-08:       rgba(15, 29, 58, 0.08);
  --ink-70:       rgba(15, 29, 58, 0.70);
  --ink-95:       rgba(15, 29, 58, 0.95);
  --brass-10:     rgba(201, 169, 97, 0.10);
  --brass-15:     rgba(201, 169, 97, 0.15);
  --brass-25:     rgba(201, 169, 97, 0.25);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--linen);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
}

h1 {
  font-size: clamp(48px, 7vw, 84px);
  letter-spacing: 0.5px;
}

h2 {
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: 0.3px;
}

h3 {
  font-size: 24px;
}

p {
  margin: 0;
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 48px;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 64px;
  }
}

section {
  padding: 70px 0;
}

@media (min-width: 768px) {
  section {
    padding: 100px 0;
  }
}

/* =====================
   ACCESSIBILITY
   ===================== */

.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--ink);
  color: var(--linen);
  padding: 12px 24px;
  text-decoration: none;
  font-weight: 600;
  z-index: 1000;
}

.skip-link:focus {
  top: 0;
}

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}

/* =====================
   HEADER
   ===================== */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 243, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ink-08);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

@media (min-width: 768px) {
  .header-inner {
    padding: 24px 48px;
  }
}

.logo {
  height: 52px;
  width: auto;
  display: block;
}

@media (min-width: 768px) {
  .logo {
    height: 62px;
  }
}

nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

nav a {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

nav a:hover,
nav a:focus-visible {
  opacity: 1;
}

nav a:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 4px;
  border-radius: 2px;
}

/* =====================
   EYEBROW LABELS
   ===================== */

.eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--brass-dark);
  margin-bottom: 18px;
  padding: 6px 14px 12px 14px;
  background: linear-gradient(135deg, var(--brass-15), rgba(201, 169, 97, 0.08));
  border-radius: 2px;
  position: relative;
}

.eyebrow::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--brass), transparent);
}

/* =====================
   HERO
   ===================== */

.hero {
  padding: 60px 0 100px;
  text-align: center;
  position: relative;
  background:
    linear-gradient(135deg, rgba(250, 248, 243, 0.82) 0%, rgba(250, 248, 243, 0.75) 50%, rgba(250, 248, 243, 0.82) 100%),
    url('/hadassahinc/assets/hero-ceramic-vase.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

@media (min-width: 768px) {
  .hero {
    padding: 100px 0 140px;
  }

  .hero::before {
    width: 800px;
    height: 800px;
  }
}

.hero h1 {
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 12px rgba(250, 248, 243, 0.8);
}

.hero-tagline {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-size: clamp(19px, 2.5vw, 26px);
  line-height: 1.65;
  max-width: 920px;
  margin: 0 auto 36px;
  color: var(--ink-95);
  font-weight: 400;
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 8px rgba(250, 248, 243, 0.9);
}

.hero-subline {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--brass-dark);
  max-width: 800px;
  margin: 0 auto 32px;
  line-height: 1.9;
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 6px rgba(250, 248, 243, 0.7);
}

/* Three brass dot divider with pulse animation */
.divider-marks {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  margin-top: 56px;
  position: relative;
  z-index: 1;
}

.divider-marks span {
  width: 5px;
  height: 5px;
  background: var(--brass);
  border-radius: 50%;
  opacity: 0.4;
  animation: brasspulse 3s ease-in-out infinite;
}

.divider-marks span:nth-child(2) {
  animation-delay: 0.3s;
  opacity: 0.6;
}

.divider-marks span:nth-child(3) {
  animation-delay: 0.6s;
  opacity: 0.4;
}

@keyframes brasspulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.4;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.7;
  }
}

/* =====================
   ABOUT SECTION
   ===================== */

.about {
  position: relative;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('/hadassahinc/assets/geometric-shadows.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  pointer-events: none;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.about-content h2 {
  margin-bottom: 32px;
}

.about-content p {
  font-size: 19px;
  line-height: 1.8;
  color: var(--ink-95);
}

.about-content p + p {
  margin-top: 24px;
}

/* =====================
   PARTNER NETWORK
   ===================== */

.partner-network {
  position: relative;
  background:
    linear-gradient(to bottom, rgba(250, 248, 243, 0.80), rgba(250, 248, 243, 0.85)),
    url('/hadassahinc/assets/modern-office-space.jpg');
  background-size: cover;
  background-position: center;
}

.partner-network-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.partner-network-content h2 {
  margin-bottom: 32px;
}

.callout-box {
  background: transparent;
  border-left: 4px solid var(--brass);
  padding: 36px 32px;
  margin-top: 36px;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.callout-box::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(30%, -30%);
}

@media (min-width: 768px) {
  .callout-box {
    padding: 44px 52px;
  }
}

.callout-box p {
  font-size: 19px;
  line-height: 1.8;
  color: var(--ink-95);
  position: relative;
  z-index: 1;
}

/* =====================
   PARTNERSHIP OFFERINGS
   ===================== */

.partnership-offerings {
  position: relative;
}

.partnership-offerings::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 10%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.partnership-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.partnership-content h2 {
  margin-bottom: 32px;
}

.partnership-content p {
  font-size: 19px;
  line-height: 1.8;
  color: var(--ink-95);
}

.partnership-offerings {
  padding-bottom: 40px;
}

@media (min-width: 768px) {
  .partnership-offerings {
    padding-bottom: 50px;
  }
}

/* =====================
   SERVICES SECTION
   ===================== */

.services {
  background: linear-gradient(180deg, rgba(250, 248, 243, 1) 0%, rgba(245, 243, 238, 1) 100%);
  position: relative;
  padding-top: 50px;
}

@media (min-width: 768px) {
  .services {
    padding-top: 60px;
  }
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 169, 97, 0.2), transparent);
}

.services-header {
  max-width: 800px;
  margin: 0 auto 48px;
}

.services-grid {
  display: grid;
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

.service-tile {
  padding: 36px;
  background: rgba(15, 29, 58, 0.015);
  border: 1px solid var(--ink-08);
  border-radius: 3px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

/* Top accent line -- appears on hover */
.service-tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--brass), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-tile:hover {
  background: rgba(201, 169, 97, 0.05);
  border-color: var(--brass-25);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(15, 29, 58, 0.08);
}

.service-tile:hover::before {
  opacity: 1;
}

.service-tile h3 {
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--ink);
}

.service-tile p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(15, 29, 58, 0.75);
}

/* Scroll-fade for tiles */
@media (prefers-reduced-motion: no-preference) {
  .service-tile.is-visible {
    animation: fadeSlideUp 0.4s ease both;
  }
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =====================
   CTA BRIDGE
   ===================== */

.cta-bridge {
  padding: 40px 0;
  text-align: center;
}

.cta-bridge p {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-size: 21px;
  line-height: 1.6;
  color: rgba(15, 29, 58, 0.85);
  max-width: 700px;
  margin: 0 auto;
}

/* =====================
   CONTACT SECTION
   ===================== */

.contact {
  padding-top: 50px !important;
}

@media (min-width: 768px) {
  .contact {
    padding-top: 60px !important;
  }
}

.contact-content {
  max-width: 700px;
  margin: 0 auto;
}

.contact-content h2 {
  margin-bottom: 16px;
}

.contact-instruction {
  font-size: 17px;
  color: rgba(15, 29, 58, 0.70);
  margin-bottom: 40px;
}

.form-group {
  margin-bottom: 24px;
}

label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 8px;
  color: var(--ink);
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: #FFFFFF;
  border: 1.5px solid rgba(15, 29, 58, 0.15);
  border-radius: 2px;
  transition: all 0.2s ease;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.1);
}

textarea {
  min-height: 160px;
  resize: vertical;
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230F1D3A' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}

/* Honeypot field */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Submit button with shimmer */
.submit-btn {
  width: 100%;
  padding: 18px 40px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--linen);
  background: linear-gradient(135deg, var(--brass) 0%, var(--brass-dark) 100%);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 8px;
  min-height: 56px;
  position: relative;
  overflow: hidden;
}

/* Shimmer pseudo-element */
.submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.submit-btn:hover::before {
  left: 100%;
}

@media (min-width: 768px) {
  .submit-btn {
    width: auto;
    min-width: 260px;
  }
}

.submit-btn:hover {
  background: linear-gradient(135deg, #d4a866 0%, #c49f5a 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 169, 97, 0.3);
}

.submit-btn:active {
  transform: translateY(0);
}

.submit-btn:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.submit-btn:disabled::before {
  display: none;
}

/* Form status messages */
.form-message {
  margin-top: 24px;
  padding: 16px 20px;
  border-radius: 2px;
  font-size: 15px;
  line-height: 1.6;
  display: none;
}

.form-message.success {
  display: block;
  background: rgba(31, 138, 91, 0.08);
  border-left: 3px solid #1F8A5B;
  color: var(--ink);
}

.form-message.error {
  display: block;
  background: rgba(200, 60, 60, 0.08);
  border-left: 3px solid #c83c3c;
  color: var(--ink);
}

/* =====================
   FOOTER
   ===================== */

footer {
  padding: 100px 0 60px;
  text-align: center;
  position: relative;
  background:
    linear-gradient(180deg, rgba(240, 238, 230, 0.94) 0%, rgba(235, 233, 225, 0.96) 100%),
    url('/hadassahinc/assets/footer-workspace-minimal.jpg');
  background-size: cover;
  background-position: center;
}

/* Gold gradient top border (centered, 60% width) */
footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 169, 97, 0.4), transparent);
}

/* Brass glow accent above footer content */
footer::after {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.footer-logo {
  height: 64px;
  width: auto;
  max-width: 500px;
  margin: 0 auto 32px;
  display: block;
  opacity: 1;
  filter: none;
}

@media (min-width: 768px) {
  .footer-logo {
    height: 80px;
  }
}

.copyright {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: rgba(15, 29, 58, 0.45);
  letter-spacing: 0.5px;
}

/* =====================
   REDUCED MOTION
   ===================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .divider-marks span {
    animation: none;
    opacity: 0.5;
  }
}
