/* jobs.dad-look.com - Careers at Dad, Look Inc. */
@font-face { font-family: "Mrs Saint Delafield"; src: url("/fonts/MrsSaintDelafield.ttf") format("truetype"); font-display: swap; }

body { margin: 0; background: #ffffff; color: #1c1c1c; font-family: Helvetica, Arial, sans-serif; }
a { color: #b8403c; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid #2f6fb8; outline-offset: 2px; }

/* Header */
.jb-header { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(6px); border-bottom: 1px solid #ecebe8; }
.jb-header-inner { max-width: 1080px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.jb-logo { display: flex; align-items: center; gap: 10px; color: #1c1c1c; font-weight: 800; font-size: 18px; text-decoration: none; }
.jb-logo-mark { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 8px; background: #ec6e6a; color: #ffffff; font-size: 13px; font-weight: 900; }
.jb-nav { display: flex; align-items: center; gap: 18px; font-size: 15px; font-weight: 700; }
.jb-nav a { color: #1c1c1c; text-decoration: none; }
.jb-nav a:hover { color: #b8403c; }
.jb-nav-apply { background: #1c1c1c; color: #ffffff !important; padding: 9px 16px; border-radius: 999px; }

/* Page */
.jb-page { max-width: 1080px; margin: 0 auto; padding: 0 24px 56px; display: flex; flex-direction: column; gap: 64px; }
.jb-section { display: flex; flex-direction: column; gap: 20px; scroll-margin-top: 80px; }
.jb-section h2 { margin: 0; font-size: 36px; font-weight: 900; letter-spacing: -0.02em; }
.jb-subheading { margin: 24px 0 0; font-size: 20px; font-weight: 800; }
.jb-error { margin: 0; padding: 12px 14px; border-radius: 10px; background: #fdecea; color: #a12f2b; font-weight: 700; }
.jb-button { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; min-height: 48px; padding: 12px 22px; border: 0; border-radius: 999px; background: #ec6e6a; color: #ffffff; font: inherit; font-size: 16px; font-weight: 800; text-decoration: none; cursor: pointer; }
.jb-button:hover { background: #d95450; color: #ffffff; }
.jb-button-big { min-height: 56px; padding: 14px 28px; font-size: 17px; align-self: flex-start; }
.jb-button-dark { background: #1c1c1c; }
.jb-button-dark:hover { background: #000000; }
.jb-button-linkedin { background: #0a66c2; }
.jb-button-linkedin:hover { background: #004182; }
.jb-button-ghost { background: transparent; color: #1c1c1c; box-shadow: inset 0 0 0 2px #d6d3ce; }
.jb-button-ghost:hover { background: #f6f5f3; color: #1c1c1c; }

/* Hero */
.jb-hero { padding: 72px 0 8px; display: flex; flex-direction: column; gap: 20px; }
.jb-hiring { margin: 0; display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; background: #fdecea; color: #a12f2b; font-size: 14px; font-weight: 800; padding: 6px 14px; border-radius: 999px; }
.jb-dot { width: 8px; height: 8px; border-radius: 50%; background: #ec6e6a; }
.jb-hero h1 { margin: 0; font-size: 64px; line-height: 1; font-weight: 900; letter-spacing: -0.03em; }
.jb-hero h1 span { color: #ec6e6a; }
.jb-lead { margin: 0; max-width: 640px; font-size: 20px; line-height: 1.5; color: #4a4a4a; }
.jb-facts { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.jb-facts li { background: #f6f5f3; border-radius: 12px; padding: 10px 16px; font-size: 15px; color: #4a4a4a; }
.jb-facts strong { font-size: 20px; color: #1c1c1c; margin-right: 4px; }

/* Roles */
.jb-roles { display: flex; flex-direction: column; gap: 12px; }
.jb-role { border: 1px solid #e3e1dd; border-radius: 16px; background: #ffffff; overflow: hidden; }
.jb-role summary { list-style: none; cursor: pointer; padding: 20px 22px; display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: center; }
.jb-role summary::-webkit-details-marker { display: none; }
.jb-role summary:hover { background: #fbfaf8; }
.jb-role-team { grid-column: 1 / -1; font-size: 13px; font-weight: 800; color: #ec6e6a; text-transform: uppercase; letter-spacing: 0.06em; }
.jb-role-title { font-size: 22px; font-weight: 800; }
.jb-role-applicants { grid-row: 2 / 4; grid-column: 2; font-size: 13px; font-weight: 700; color: #1f8a4c; text-align: right; }
.jb-role-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.jb-role-tags span { font-size: 13px; color: #4a4a4a; background: #f6f5f3; padding: 4px 10px; border-radius: 999px; }
.jb-role-body { padding: 0 22px 22px; display: flex; flex-direction: column; gap: 8px; }
.jb-role-body h3 { margin: 8px 0 0; font-size: 15px; }
.jb-role-body ul { margin: 0; padding-left: 20px; color: #3a3a3a; line-height: 1.6; }
.jb-role-summary { margin: 0; font-size: 17px; font-weight: 700; }
.jb-role-body .jb-button { align-self: flex-start; margin-top: 8px; }
.jb-role.is-filled { background: #f6f5f3; }
.jb-role.is-filled .jb-role-title { text-decoration: line-through; color: #8a8a8a; }
.jb-role.is-filled .jb-role-applicants { color: #8a8a8a; }
.jb-filled { margin: 0; color: #4a4a4a; }

/* Perks and values */
.jb-perks { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.jb-perk { background: #f6f5f3; border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.jb-perk strong { font-size: 17px; }
.jb-perk span { color: #4a4a4a; line-height: 1.45; }
.jb-values { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.jb-value { border-top: 4px solid #ec6e6a; padding: 14px 4px; display: flex; flex-direction: column; gap: 4px; }
.jb-value-number { font-size: 13px; font-weight: 900; color: #ec6e6a; }
.jb-value strong { font-size: 20px; }
.jb-value span:last-child { color: #4a4a4a; }

/* Org chart */
.jb-org { display: flex; flex-direction: column; align-items: center; }
.jb-org-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.jb-org-box { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 16px; border: 2px solid #1c1c1c; border-radius: 12px; background: #ffffff; text-align: center; min-width: 150px; }
.jb-org-box span { font-size: 13px; color: #6b6b6b; }
.jb-org-top { background: #1c1c1c; color: #ffffff; }
.jb-org-top span { color: #d6d3ce; }
.jb-org-open { border-style: dashed; border-color: #ec6e6a; }
.jb-org-open span { color: #b8403c; font-weight: 700; }
.jb-org-product { background: #ec6e6a; border-color: #ec6e6a; color: #ffffff; }
.jb-org-product span { color: #ffffff; }
.jb-org-line { width: 2px; height: 22px; background: #1c1c1c; }

/* Reviews and steps */
.jb-reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.jb-review { margin: 0; border: 1px solid #e3e1dd; border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.jb-stars { color: #e0a43a; letter-spacing: 0.08em; }
.jb-review blockquote { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.4; }
.jb-review figcaption { font-size: 13px; color: #6b6b6b; }
.jb-steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.jb-steps li { display: flex; flex-direction: column; gap: 4px; padding: 16px; background: #f6f5f3; border-radius: 16px; }
.jb-step-number { width: 30px; height: 30px; border-radius: 50%; background: #1c1c1c; color: #ffffff; font-weight: 900; display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.jb-steps strong { font-size: 17px; }
.jb-steps span:last-child { color: #4a4a4a; line-height: 1.45; }

/* Apply */
.jb-apply { background: #f6f5f3; border-radius: 24px; padding: 32px; }
.jb-apply-note { margin: 0; color: #4a4a4a; line-height: 1.5; max-width: 640px; }
.jb-form { display: flex; flex-direction: column; gap: 18px; max-width: 560px; }
.jb-field { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; border: 0; }
.jb-field label, .jb-field legend { font-weight: 800; font-size: 15px; padding: 0; margin-bottom: 4px; }
.jb-field input[type="text"], .jb-field select { box-sizing: border-box; min-height: 48px; padding: 10px 14px; border: 1px solid #cfccc6; border-radius: 12px; background: #ffffff; font: inherit; font-size: 16px; }
.jb-choice { display: flex; align-items: center; gap: 10px; min-height: 40px; font-size: 16px; cursor: pointer; }
.jb-choice input { width: 20px; height: 20px; accent-color: #ec6e6a; }
.jb-confirm { font-weight: 800; }

/* Letter */
.jb-letter-wrap { padding: 48px 0 0; display: flex; justify-content: center; }
.jb-letter { position: relative; width: 100%; max-width: 640px; box-sizing: border-box; background: #ffffff; border: 1px solid #e3e1dd; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12); padding: 40px 44px 48px; font-size: 17px; line-height: 1.6; }
.jb-letter p { margin: 0 0 14px; }
.jb-letterhead { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1px solid #ecebe8; }
.jb-letterhead strong { display: block; font-size: 18px; }
.jb-letterhead span:not(.jb-logo-mark) { font-size: 13px; color: #6b6b6b; }
.jb-letter-date { color: #6b6b6b; font-size: 15px; }
.jb-letter-re { font-weight: 800; }
.jb-signature { margin: 6px 0 0 !important; font-family: "Mrs Saint Delafield", "Brush Script MT", cursive; font-size: 54px; line-height: 1; color: #1f3a8a; }
.jb-signature-title { font-size: 14px; color: #6b6b6b; }
.jb-stamp { position: absolute; right: 36px; bottom: 56px; padding: 6px 16px; border: 5px solid currentColor; border-radius: 8px; font-size: 34px; font-weight: 900; letter-spacing: 0.08em; transform: rotate(-12deg); opacity: 0.85; }
.jb-stamp.is-hired { color: #1f8a4c; }
.jb-stamp.is-rejected { color: #c03a36; }
.jb-share { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.jb-share-title { margin: 0; font-size: 34px; font-weight: 900; }
.jb-share-text { margin: 0; max-width: 620px; font-size: 18px; color: #4a4a4a; font-style: italic; }
.jb-share-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.jb-status { margin: 0; min-height: 1.2em; font-weight: 700; color: #1f8a4c; }
.jb-text-link { font-weight: 800; }

/* Call to action */
.jb-cta { background: #1c1c1c; color: #ffffff; border-radius: 24px; padding: 48px 24px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.jb-cta h2 { margin: 0; font-size: 34px; font-weight: 900; }
.jb-cta p { margin: 0; font-size: 17px; color: #d6d3ce; }
.jb-cta-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; box-sizing: border-box; width: 100%; max-width: 600px; min-height: 76px; padding: 18px 24px; border-radius: 999px; background: #ec6e6a; color: #ffffff; font-size: 21px; font-weight: 900; text-transform: uppercase; text-decoration: none; }
.jb-cta-button:hover { background: #f38884; color: #ffffff; }
.jb-cta-button:focus-visible { outline-color: #ffffff; outline-offset: 4px; }
.jb-cta-arrow { display: inline-block; }
.jb-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: #6b6b6b; }

@media (max-width: 700px) {
	.jb-header-inner { padding: 10px 16px; }
	.jb-nav { gap: 12px; font-size: 14px; }
	.jb-nav a:not(.jb-nav-apply) { display: none; }
	.jb-page { padding: 0 16px 48px; gap: 48px; }
	.jb-hero { padding-top: 40px; }
	.jb-hero h1 { font-size: 40px; }
	.jb-section h2 { font-size: 28px; }
	.jb-role summary { grid-template-columns: 1fr; }
	.jb-role-applicants { grid-row: auto; grid-column: 1; text-align: left; }
	.jb-apply { padding: 22px 18px; }
	.jb-letter { padding: 28px 22px 40px; font-size: 16px; }
	.jb-stamp { right: 18px; bottom: 30px; font-size: 24px; }
	.jb-cta h2 { font-size: 26px; }
	.jb-cta-button { font-size: 18px; min-height: 66px; }
}

/* Animations - only with JavaScript and when the visitor allows motion */
@media (prefers-reduced-motion: no-preference) {
	.js .jb-hero > * { animation: jb-rise 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
	.js .jb-hero > *:nth-child(2) { animation-delay: 0.08s; }
	.js .jb-hero > *:nth-child(3) { animation-delay: 0.16s; }
	.js .jb-hero > *:nth-child(4) { animation-delay: 0.24s; }
	.js .jb-hero > *:nth-child(5) { animation-delay: 0.32s; }
	.jb-dot { animation: jb-pulse 1.4s ease-in-out infinite; }
	.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; transition-delay: calc(var(--d, 0) * 80ms); }
	.js .reveal.is-in { opacity: 1; transform: none; }
	.jb-role, .jb-perk, .jb-review { transition: transform 0.2s ease, box-shadow 0.2s ease; }
	.js .jb-perk.is-in:hover, .js .jb-review.is-in:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08); transition-delay: 0s; }
	.jb-role[open] .jb-role-body { animation: jb-rise 0.35s ease both; }
	.js .jb-letter { animation: jb-letter 0.8s cubic-bezier(0.2, 0.8, 0.2, 1.1) both; }
	.js .jb-stamp { animation: jb-stamp 0.45s 1s cubic-bezier(0.2, 0.8, 0.2, 1.6) both; }
	.js .jb-share { animation: jb-rise 0.6s 1.3s ease both; }
	.jb-button { transition: transform 0.12s ease, background-color 0.2s ease; }
	.jb-button:active { transform: scale(0.96); }
	.jb-cta-button { animation: jb-glow 2.2s ease-in-out infinite; transition: transform 0.15s ease; }
	.jb-cta-button:hover { transform: scale(1.03); }
	.jb-cta-arrow { animation: jb-nudge 1.1s ease-in-out infinite; }
}

@keyframes jb-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes jb-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@keyframes jb-letter { from { opacity: 0; transform: translateY(60px) rotate(-3deg); } to { opacity: 1; transform: none; } }
@keyframes jb-stamp { 0% { opacity: 0; transform: rotate(-12deg) scale(2.4); } 100% { opacity: 0.85; transform: rotate(-12deg) scale(1); } }
@keyframes jb-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(236, 110, 106, 0.5); } 50% { box-shadow: 0 0 0 12px rgba(236, 110, 106, 0); } }
@keyframes jb-nudge { 0%, 100% { transform: none; } 50% { transform: translateX(8px); } }
