 :root {
   --bg: #b4f5af;
   --fg: #1b2740;
   --muted: #6b7280;
   --accent: #0f766e;
   --border: #e5e7eb;
   --card: #ffffff;
   --link: #0f766e;
   --link-hover: #115e59;
   --radius-lg: 18px;
   --radius-pill: 999px;
   --border-dashed: #d1d5db;
   --surface: #f9fafb;
   --surface-alt: #f3f4f6;
   --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
     "Segoe UI", sans-serif;
   --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
   --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
   --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.15);
 }

 * {
   box-sizing: border-box;
 }

 body {
   margin: 0;
   font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
     "Segoe UI", sans-serif;
   background: radial-gradient(circle at top left, #e0f2fe 0, #f9fafb 45%, #f9fafb 100%);
   color: var(--fg);
   line-height: 1.6;
   -webkit-font-smoothing: antialiased;
 }

 a {
   color: var(--link);
   text-decoration: none;
 }

 a:hover {
   color: var(--link-hover);
   text-decoration: underline;
 }

 .page {
   max-width: 880px;
   margin: 0 auto;
   padding: 32px 20px 56px;
 }

 .site-logo {
   height: 69px;
   width: auto;
   display: block;
   opacity: 0.92;
 }


 header {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 16px;
   margin-bottom: 20px;
 }

 .logo {
   font-size: 20px;
   font-weight: 600;
   letter-spacing: 0.04em;
   text-transform: uppercase;
 }

 /* Hamburger styles */
 .hamburger {
   display: none;
   flex-direction: column;
   justify-content: center;
   gap: 4px;
   width: 36px;
   height: 36px;
   background: none;
   border: none;
   cursor: pointer;
   z-index: 1001;
 }

 .hamburger span {
   display: block;
   height: 3px;
   width: 100%;
   background: var(--fg);
   border-radius: 2px;
   transition: 0.3s;
 }

 /* Mobile nav styles */
 @media (max-width: 780px) {
   .hamburger {
     display: flex;
   }

   nav#main-nav {
     position: absolute;
     top: 64px;
     left: 0;
     right: 0;
     background: var(--card);
     flex-direction: column;
     gap: 0;
     padding: 12px 0;
     box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
     display: none;
   }

   nav#main-nav.open {
     display: flex;
   }

   nav#main-nav a {
     padding: 14px 24px;
     border-radius: 0;
     border: none;
     color: var(--fg);
     font-size: 18px;
   }

   header {
     position: relative;
   }
 }

 .hidden {
   display: none !important;
 }


 nav {
   display: flex;
   gap: 16px;
   font-size: 14px;
   flex-wrap: wrap;
 }

 nav a {
   padding: 6px 12px;
   border-radius: var(--radius-pill);
   border: 1px solid transparent;
   background: transparent;
   color: var(--muted);
 }

 nav a:hover {
   border-color: var(--border);
   background: rgba(255, 255, 255, 0.9);
   text-decoration: none;
   color: var(--fg);
 }

 .hero {
   padding: 28px 24px 24px;
   border-radius: 28px;
   background: rgba(255, 255, 255, 0.92);
   border: 1px solid rgba(148, 163, 184, 0.35);
   box-shadow:
     0 18px 45px rgba(15, 23, 42, 0.09),
     0 0 0 1px rgba(255, 255, 255, 0.6);
   margin-bottom: 32px;
 }

 .hero-tag {
   display: inline-flex;
   align-items: center;
   gap: 8px;
   font-size: 12px;
   padding: 4px 10px;
   border-radius: var(--radius-pill);
   background: #ecfdf5;
   color: #047857;
   border: 1px solid #bbf7d0;
   margin-bottom: 16px;
 }

 .hero-tag-dot {
   width: 7px;
   height: 7px;
   border-radius: 999px;
   background: #22c55e;
   box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.28);
 }

 .hero-title {
   font-size: clamp(32px, 5vw, 40px);
   line-height: 1.1;
   letter-spacing: -0.03em;
   margin: 0 0 12px;
 }

 .hero-su itle {
   font-size: 16px;
   color: var(--muted);
   max-width: 520px;
   margin-bottom: 16px;
 }

 .hero-meta {
   display: flex;
   flex-wrap: wrap;
   gap: 10px 18px;
   font-size: 13px;
   color: var(--muted);
 }

 .hero-meta span {
   display: inline-flex;
   align-items: center;
   gap: 6px;
 }

 .dot {
   width: 6px;
   height: 6px;
   border-radius: 999px;
   background: #9ca3af;
 }

 .pill-row {
   display: flex;
   flex-wrap: wrap;
   gap: 8px;
   margin-top: 16px;
 }

 .pill {
   font-size: 12px;
   padding: 4px 10px;
   border-radius: var(--radius-pill);
   border: 1px solid rgba(148, 163, 184, 0.7);
   background: rgba(249, 250, 251, 0.9);
   color: #4b5563;
   white-space: nowrap;
 }

 main {
   margin-top: 32px;
   display: grid;
   grid-template-columns: minmax(0, 2.3fr) minmax(0, 1.7fr);
   gap: 24px;
 }

 section {
   margin-bottom: 28px;
 }

 section h2 {
   font-size: 16px;
   letter-spacing: 0.08em;
   text-transform: uppercase;
   color: #6b7280;
   margin: 0 0 8px;
 }

 section p {
   margin: 4px 0 10px;
   font-size: 14px;
   color: #374151;
 }

 .section-card {
   border-radius: var(--radius-lg);
   border: 1px solid var(--border);
   background: var(--card);
   padding: 16px 16px 14px;
   margin-top: 8px;
 }

 .section-card h3 {
   font-size: 14px;
   margin: 0 0 4px;
 }

 .section-card p {
   font-size: 13px;
   margin: 0 0 4px;
   color: #4b5563;
 }

 .eyebrow {
   font-size: 11px;
   text-transform: uppercase;
   letter-spacing: 0.12em;
   color: #9ca3af;
   margin-bottom: 2px;
 }

 ul {
   padding-left: 18px;
   margin: 6px 0 8px;
 }

 li {
   font-size: 13px;
   color: #4b5563;
   margin-bottom: 3px;
 }

 .link-row {
   display: flex;
   flex-wrap: wrap;
   gap: 10px;
   margin-top: 8px;
   font-size: 13px;
 }


 #contact-section {
   grid-column: 1 / -1;
   /* spans all columns */
   max-width: 520px;
   margin: 0 auto;
   margin-top: 12px;
 }

 footer {
   margin-top: 32px;
   padding-top: 16px;
   border-top: 1px solid var(--border);
   font-size: 12px;
   color: #9ca3af;
   display: flex;
   flex-wrap: wrap;
   justify-content: space-between;
   gap: 8px;
 }

 .btn {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   gap: 8px;
   font-family: var(--font-sans);
   font-size: 14px;
   font-weight: 500;
   padding: 10px 20px;
   border-radius: var(--radius-pill);
   border: 1px solid var(--border);
   cursor: pointer;
   transition: all 0.2s;
   text-decoration: none;
 }

 .btn-primary {
   background: var(--fg);
   color: white;
   border-color: var(--fg);
 }

 .btn-primary:hover {
   background: #374151;
   border-color: #374151;
   text-decoration: none;
 }

 .btn-secondary {
   background: var(--card);
   color: var(--fg);
   border: 1px solid var(--border);
 }

 .btn-secondary:hover {
   background: var(--surface-alt);
   border-color: var(--border-dashed);
 }

 .btn-outline {
   background: transparent;
   color: var(--muted);
   border: 1px solid var(--border);
 }

 .btn-outline:hover {
   color: var(--fg);
   border-color: var(--border-dashed);
   background: rgba(255, 255, 255, 0.5);
 }

 .btn-full {
   width: 100%;
 }

 /* --- Pulsing / glowing CTA variants --- */

 /* 1) Subtle scale pulse */
 @keyframes pulse-scale {
   0% {
     transform: scale(1);
     box-shadow: 0 6px 18px rgba(15, 118, 110, 0.12);
   }

   50% {
     transform: scale(1.03);
     box-shadow: 0 10px 30px rgba(15, 118, 110, 0.14);
   }

   100% {
     transform: scale(1);
     box-shadow: 0 6px 18px rgba(15, 118, 110, 0.12);
   }
 }

 .pulse-scale {
   animation: pulse-scale 1.2s ease-in-out infinite;
 }

 /* Hover intensify (optional) */
 .btn.pulse-scale:hover {
   transform: translateY(-2px);
 }

 /* Respect user preference for reduced motion */
 @media (prefers-reduced-motion: reduce) {

   .pulse-scale {
     animation: none !important;
     transition: none !important;
   }
 }

 #resonate-view {
   position: fixed;
   inset: 0;
   background: radial-gradient(circle at top left, #e0f2fe 0, var(--surface) 45%, var(--surface) 100%);
   z-index: 100;
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   padding: 16px;
 }

 /* profile photo + wrapper */
 .photo-wrap {
   float: right;
   width: 180px;
   /* adjust size */
   margin: 0 0 16px 20px;
   /* space left and below */
 }

 .profile-photo {
   width: 100%;
   height: auto;
   display: block;
   object-fit: cover;
 }

 /* ensure the section card clears the float */
 .section-card::after {
   content: "";
   display: table;
   clear: both;
 }

 /* responsive: remove float and center image on narrow screens */
 @media (max-width: 780px) {
   .photo-wrap {
     float: right;
     /* keep float so it sits inline with text */
     width: 96px;
     /* smaller size for mobile */
     margin: 6px 0 12px 12px;
     /* spacing: top 6, right 0, bottom 12, left 12 */
     display: block;
   }

   .profile-photo {
     width: 100%;
     height: auto;
     border-radius: 6px;
     object-fit: cover;
   }


   /* force single column layout */
   main {
     grid-template-columns: 1fr !important;
   }

 }

 .close-btn {
   position: absolute;
   top: 20px;
   right: 20px;
   width: 40px;
   height: 40px;
   display: flex;
   align-items: center;
   justify-content: center;
   border-radius: 50%;
   background: var(--card);
   border: 1px solid var(--border);
   color: var(--muted);
   text-decoration: none;
   transition: all 0.2s;
   z-index: 10;
   box-shadow: var(--shadow-sm);
 }

 .close-btn:hover {
   color: var(--fg);
   border-color: var(--border-dashed);
   box-shadow: var(--shadow-md);
 }

 .close-btn svg {
   width: 18px;
   height: 18px;
 }

 .card-container {
   width: 100%;
   max-width: 380px;
   height: 70vh;
   max-height: 480px;
   display: flex;
   align-items: center;
   justify-content: center;
   perspective: 1000px;
 }

 .card-stack {
   position: relative;
   width: 100%;
   height: 100%;
 }

 .card {
   position: absolute;
   inset: 0;
   background: var(--card);
   border-radius: var(--radius-lg);
   border: 1px solid var(--border);
   box-shadow: var(--shadow-lg);
   display: flex;
   flex-direction: column;
   overflow: hidden;
   touch-action: none;
   user-select: none;
   cursor: grab;
 }

 .card:active {
   cursor: grabbing;
 }

 .background-card {
   transform: scale(0.95) translateY(12px);
   opacity: 0.6;
   z-index: -1;
   pointer-events: none;
 }

 .card-content {
   flex: 1;
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   padding: 32px 24px;
   text-align: center;
   gap: 12px;
 }

 .card-emoji {
   font-size: 3.5rem;
   line-height: 1;
 }

 .card-title {
   font-size: 1.5rem;
   font-weight: 600;
   line-height: 1.2;
   color: var(--fg);
 }

 .card-description {
   font-size: 0.9375rem;
   color: var(--muted);
   line-height: 1.6;
   max-width: 300px;
 }

 .swipe-hint {
   display: flex;
   justify-content: space-between;
   align-items: center;
   padding: 12px 20px;
   border-top: 1px solid var(--border);
   font-size: 11px;
   color: var(--muted);
   text-transform: uppercase;
   letter-spacing: 0.05em;
   background: var(--surface);
 }

 .hint-center {
   opacity: 0.6;
 }

 .arrow {
   font-size: 14px;
 }

 .card.swiping-left {
   background: linear-gradient(135deg, rgba(239, 68, 68, 0.08), var(--card));
 }

 .card.swiping-right {
   background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), var(--card));
 }

 .card.exiting {
   transition: transform 0.3s ease-out, opacity 0.3s ease-out;
   pointer-events: none;
 }

 .card.exit-left {
   transform: translateX(-150%) rotate(-30deg);
   opacity: 0;
 }

 .card.exit-right {
   transform: translateX(150%) rotate(30deg);
   opacity: 0;
 }

 .summary {
   width: 100%;
   max-width: 440px;
   max-height: 90vh;
   overflow-y: auto;
   padding: 16px;
 }

 .summary-content {
   background: var(--card);
   border: 1px solid var(--border);
   border-radius: var(--radius-lg);
   padding: 32px 24px;
   box-shadow: var(--shadow-md);
 }

 .summary-header {
   text-align: center;
   margin-bottom: 24px;
 }

 .summary-emoji {
   font-size: 2.5rem;
   display: block;
   margin-bottom: 12px;
 }

 .summary-title {
   font-size: 1.5rem;
   font-weight: 600;
   margin-bottom: 6px;
   color: var(--fg);
 }

 .summary-subtitle {
   color: var(--muted);
   font-size: 0.9375rem;
 }

 .resonated-list {
   display: flex;
   flex-wrap: wrap;
   gap: 8px;
   justify-content: center;
   margin-bottom: 24px;
 }

 .resonated-tag {
   display: inline-flex;
   align-items: center;
   gap: 6px;
   padding: 6px 12px;
   background: var(--surface);
   border: 1px dashed var(--border-dashed);
   border-radius: var(--radius-pill);
   font-size: 13px;
   color: var(--fg);
 }

 .contact-section {
   border-top: 1px solid var(--border);
   padding-top: 20px;
   margin-bottom: 20px;
 }

 .contact-title {
   font-size: 1rem;
   font-weight: 600;
   margin-bottom: 16px;
   text-align: center;
   color: var(--fg);
 }

 .contact-form {
   display: flex;
   flex-direction: column;
   gap: 12px;
 }

 .form-group {
   display: flex;
   flex-direction: column;
   gap: 4px;
 }

 .form-group label {
   font-size: 13px;
   font-weight: 500;
   color: var(--muted);
 }

 .form-group input,
 .form-group textarea {
   font-family: var(--font-sans);
   font-size: 15px;
   padding: 10px 14px;
   background: var(--surface);
   border: 1px solid var(--border);
   border-radius: var(--radius-sm);
   color: var(--fg);
   transition: border-color 0.2s, box-shadow 0.2s;
 }

 .form-group input:focus,
 .form-group textarea:focus {
   outline: none;
   border-color: var(--accent);
   box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1);
 }

 .form-group input::placeholder,
 .form-group textarea::placeholder {
   color: var(--muted);
   opacity: 0.7;
 }

 .form-group textarea {
   resize: vertical;
   min-height: 80px;
 }

 .summary-actions {
   display: flex;
   gap: 10px;
   justify-content: center;
 }

 .toast {
   position: fixed;
   bottom: 24px;
   left: 50%;
   transform: translateX(-50%);
   background: var(--card);
   border: 1px solid var(--border);
   padding: 12px 20px;
   border-radius: var(--radius-md);
   font-size: 14px;
   box-shadow: var(--shadow-lg);
   z-index: 200;
   animation: slideUp 0.3s ease-out;
   color: var(--fg);
 }

 @keyframes slideUp {
   from {
     transform: translateX(-50%) translateY(12px);
     opacity: 0;
   }

   to {
     transform: translateX(-50%) translateY(0);
     opacity: 1;
   }
 }

 .eyebrow {
   font-size: 11px;
   text-transform: uppercase;
   letter-spacing: 0.08em;
   color: var(--muted);
   margin-bottom: 4px;
 }

 .section-card {
   background: var(--card);
   border: 1px solid var(--border);
   border-radius: var(--radius-lg);
   padding: 20px;
   margin-bottom: 16px;
   box-shadow: var(--shadow-sm);
 }

 .section-card h3 {
   font-size: 1rem;
   font-weight: 600;
   margin-bottom: 8px;
   color: var(--fg);
 }

 .section-card p {
   font-size: 14px;
   color: var(--muted);
   margin-bottom: 8px;
 }

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

 .link-row {
   display: flex;
   flex-wrap: wrap;
   gap: 10px;
   margin-top: 10px;
   font-size: 13px;
 }

 .link-chip {
   padding: 5px 10px;
   border-radius: var(--radius-pill);
   border: 1px dashed var(--border-dashed);
   background: var(--surface);
 }

 .link-chip a {
   color: var(--link);
   font-weight: 500;
 }

 @media (max-height: 600px) {
   .card-container {
     height: 55vh;
     max-height: 400px;
   }

   .card-emoji {
     font-size: 2.5rem;
   }

   .card-title {
     font-size: 1.25rem;
   }

   .card-description {
     font-size: 0.875rem;
   }

   .card-content {
     padding: 20px 16px;
   }
 }

 @media (max-width: 480px) {
   .summary-content {
     padding: 24px 16px;
   }

   .summary-actions {
     flex-direction: column;
   }

   .summary-actions .btn {
     width: 100%;
   }
 }

 /* --- FIX MOBILE HEADER / HAMBURGER DROPPING BELOW LOGO --- */
 @media (max-width: 780px) {
   header {
     display: flex;
     flex-direction: row !important;
     align-items: center !important;
     justify-content: space-between !important;
     gap: 12px;
     position: relative;
     /* required for absolute-positioned nav */
   }
 }