/* Careers + Contact page styles. Uses tokens from style.css. */

/* ---------- Decorative shapes ---------- */
.cr-shape { position: absolute; display: block; pointer-events: none; will-change: translate; }
.cr-shape--ring { width: clamp(110px, 14vw, 190px); aspect-ratio: 1; border-radius: 50%; border: 18px solid var(--yellow); }
.cr-shape--dot { width: clamp(30px, 4vw, 54px); aspect-ratio: 1; border-radius: 50%; background: var(--red); }
.cr-shape--blob { width: clamp(110px, 14vw, 190px); aspect-ratio: 1.2; background: var(--green); border-radius: 62% 38% 55% 45% / 48% 58% 42% 52%; opacity: .9; }

/* ---------- Careers: intro ---------- */
.cr-intro { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
.cr-intro__text > * + * { margin-top: 1rem; }
.cr-intro__text .btn { margin-top: 1.5rem; }
.cr-intro__visual { position: relative; padding: 0 0 28px; }
.cr-intro__frame { --ratio: 1200 / 584; position: relative; z-index: 1; border-radius: var(--r-xl); margin: 0; }
.cr-intro__frame img { transform: scale(1.12); }
.cr-intro__visual .cr-shape--ring { top: -30px; right: -22px; z-index: 0; }
.cr-intro__visual .cr-shape--dot { left: -14px; bottom: 6px; z-index: 2; }
.cr-intro__visual .cr-shape--blob { right: 8%; bottom: -14px; z-index: 2; width: clamp(70px, 9vw, 110px); background: var(--blue); }
@media (min-width: 900px) { .cr-intro { grid-template-columns: 1fr 1.1fr; } }

/* ---------- Careers: culture strip ---------- */
.cr-culture__grid { display: grid; gap: clamp(16px, 2.4vw, 28px); grid-template-columns: 1fr; }
@media (min-width: 760px) { .cr-culture__grid { grid-template-columns: repeat(3, 1fr); } }
.cr-culture__card { --c: var(--red); position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 2.6vw, 32px); box-shadow: var(--shadow-sm); overflow: hidden; }
.cr-culture__card::after { content: ""; position: absolute; inset: auto 0 0 0; height: 6px; background: var(--c); }
.cr-culture__card--blue { --c: var(--blue); }
.cr-culture__card--green { --c: var(--green); }
.cr-culture__badge { display: inline-grid; place-items: center; min-width: 64px; height: 64px; padding: 0 16px; border-radius: var(--r-pill); background: var(--c); color: var(--white); font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; margin-bottom: 1rem; }
.cr-culture__card--blue .cr-culture__badge { background: var(--blue-dark); }
.cr-culture__card--green .cr-culture__badge { background: var(--green-dark); }
.cr-culture__card--red .cr-culture__badge { background: var(--red-dark); }
.cr-culture__card h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.cr-culture__card p { margin: 0; color: var(--ink-soft); }
.cr-culture__more { margin: clamp(28px, 4vw, 44px) 0 0; text-align: center; }

/* ---------- Careers: accordion ---------- */
.cr-positions { overflow: hidden; }
.cr-positions__ring { right: -60px; top: 40px; border-color: var(--blue); opacity: .35; }
.acc { display: grid; gap: 16px; max-width: 900px; position: relative; }
.acc__item { --c: var(--red); background: var(--white); border: 1px solid var(--line); border-left: 8px solid var(--c); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); transition: box-shadow .3s, opacity .8s var(--ease), transform .8s var(--ease); }
.acc__item--blue { --c: var(--blue); } .acc__item--green { --c: var(--green); } .acc__item--yellow { --c: var(--yellow); }
.acc__item.is-open { box-shadow: var(--shadow-md); }
.acc__heading { margin: 0; font-size: inherit; }
.acc__btn { width: 100%; display: flex; align-items: center; gap: 16px; padding: 20px clamp(16px, 2.4vw, 28px); background: transparent; border: 0; border-radius: var(--r-lg); font: inherit; text-align: left; color: var(--ink); cursor: pointer; }
.acc__num { font-family: var(--font-head); font-weight: 800; font-size: 1rem; color: var(--ink-soft); flex: none; }
.acc__title { flex: 1; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.1rem, 2vw, 1.4rem); line-height: 1.25; }
.acc__icon { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); border: 1px solid var(--line); transition: rotate .3s var(--ease), background .2s; }
.acc__icon svg { width: 18px; height: 18px; }
.acc__btn:hover .acc__icon { background: var(--yellow); }
.acc__btn[aria-expanded="true"] .acc__icon { rotate: 135deg; background: var(--yellow); }
.acc__panel { display: grid; grid-template-rows: 1fr; }
.acc__panel-inner { overflow: hidden; min-height: 0; }
.acc__body { padding: 0 clamp(16px, 2.4vw, 28px) clamp(22px, 3vw, 32px); }
.acc__body > * + * { margin-top: 1rem; }
.js .acc__panel { transition: grid-template-rows .45s var(--ease), visibility 0s linear 0s; }
.js .acc__item:not(.is-open) .acc__panel { grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .45s var(--ease), visibility 0s linear .45s; }
.acc__chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.acc__summary { color: var(--ink-soft); }
.acc__summary strong { color: var(--ink); }
.acc__sub { font-family: var(--font-body); font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-dark); margin-bottom: 0; }
.acc__list { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; gap: 8px; }
.acc__list li { position: relative; padding-left: 28px; }
.acc__list li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.acc__item--yellow .acc__list li::before { box-shadow: 0 0 0 1px rgba(28,35,48,.2); }
.acc__body .btn { margin-top: 1.4rem; }
.cr-note { display: flex; gap: 12px; align-items: flex-start; margin: 28px 0 0; max-width: 900px; padding: 16px 20px; background: var(--yellow-soft); border-radius: var(--r-md); }
.cr-note svg { width: 24px; height: 24px; flex: none; margin-top: 2px; }
.cr-note a { color: var(--red-dark); font-weight: 700; }
.cta-band .cr-cta__dot { right: 18px; top: 14px; background: var(--yellow); }
.cta-band > *:not(.cr-shape) { position: relative; z-index: 1; }

/* ---------- Contact: cards ---------- */
.ct-card { height: 100%; }
.ct-card__label { font-size: 1.2rem; margin-bottom: .4rem; }
.ct-card address, .ct-card p { margin: 0; font-style: normal; color: var(--ink-soft); overflow-wrap: anywhere; }
.ct-card a { color: var(--blue-dark); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--yellow); }
.ct-card a:hover { border-bottom-color: currentColor; }
.ct-card .card__icon svg { transition: transform .4s var(--ease); }
.ct-card:hover .card__icon svg { transform: rotate(-10deg) scale(1.12); }
.ct-cards > * { transition: opacity .8s var(--ease), transform .8s var(--ease), box-shadow .3s; }

/* ---------- Contact: form + info ---------- */
.ct-main { overflow: hidden; }
.ct-main__blob { right: -50px; top: 60px; background: var(--yellow); opacity: .6; }
.ct-split { display: grid; gap: clamp(32px, 5vw, 64px); position: relative; }
@media (min-width: 960px) { .ct-split { grid-template-columns: 1.3fr 1fr; align-items: start; } }
.ct-form { margin-top: 1.6rem; display: grid; gap: 20px; }
.ct-field label { display: block; font-weight: 700; margin-bottom: 8px; }
.ct-req { color: var(--red-dark); }
.ct-field input, .ct-field textarea { width: 100%; font: inherit; font-size: 1.0625rem; color: var(--ink); background: var(--white); border: 2px solid #D9D2B4; border-radius: var(--r-md); padding: 16px 18px; transition: border-color .2s, box-shadow .2s; }
.ct-field textarea { resize: vertical; min-height: 150px; }
.ct-field input:hover, .ct-field textarea:hover { border-color: var(--blue-dark); }
.ct-field input:focus, .ct-field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(24,168,224,.28); }
.ct-field.has-error input { border-color: var(--red-dark); }
.ct-field.has-error input:focus { box-shadow: 0 0 0 4px rgba(227,30,38,.2); }
.ct-err { display: none; margin: 8px 0 0; color: var(--red-dark); font-weight: 700; font-size: .9375rem; }
.has-error .ct-err { display: block; }
.ct-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.ct-help { margin: 0; font-size: .9375rem; color: var(--ink-soft); }
.ct-status { margin: 0; padding: 0; font-weight: 700; color: var(--green-dark); }
.ct-status:not(:empty) { padding: 14px 18px; background: #D9F4E4; border-radius: var(--r-md); }
.ct-status.is-error { color: var(--red-dark); background: #FDE6E7; }
.ct-info__card { position: relative; }
.ct-info__title { font-size: 1.8rem; margin-bottom: 1rem; }
.ct-info__card > p { color: var(--ink-soft); }
.ct-info__card > p + p { margin-top: 1rem; }
.ct-info__sub { font-family: var(--font-body); font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin: 1.6rem 0 .8rem; color: var(--blue-dark); }
.ct-social { margin-top: 0; }
.ct-shop { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.ct-shop .btn__icon { width: 1em; height: 1em; }
@media (min-width: 960px) { .ct-info { position: sticky; top: calc(var(--header-h) + 24px); } }

/* ---------- Contact: map ---------- */
.ct-map { position: relative; width: 100%; height: clamp(320px, 38vw, 460px); border-radius: var(--r-xl); overflow: hidden; border: 6px solid var(--white); box-shadow: var(--shadow-lg), 0 0 0 2px var(--yellow); background: var(--cream); }
.ct-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ct-map__link { margin: 22px 0 0; }

@media (max-width: 640px) { .acc__sub, .ct-info__sub { font-size: .875rem; } }

@media (prefers-reduced-motion: reduce) {
  .acc__panel, .acc__icon { transition: none !important; }
  .cr-intro__frame img { transform: none; }
}
