/* Career contact page — services, process and the brief builder. Same paper/ink language as /about/ and the project pages. */
:root {
  --paper: #eeeae9;
  --ink: #161413;
  --accent: #37332e;
  --muted: rgba(22, 20, 19, .56);
  --faint: rgba(22, 20, 19, .34);
  --line: rgba(22, 20, 19, .16);
  --tint: rgba(22, 20, 19, .035);
  --serif: "Sorts Mill Goudy", "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, "Times New Roman", serif;
  --sans: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --gutter: 7vw;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

html.is-zh .i-en,
html:not(.is-zh) .i-zh { display: none !important; }

body.career-contact {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}

/* The page scrolls under the fixed nav, so give it the main site's paper glass. */
body.career-contact .portfolio-nav {
  overflow: visible !important;
  background-color: rgba(238, 234, 233, .86) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
}

.career-contact a { color: inherit; text-decoration: none; }
.career-contact img { display: block; width: 100%; height: 100%; object-fit: cover; }
.career-contact button { font: inherit; color: inherit; }

.c-section-label,
.c-kicker {
  margin: 0;
  font-size: 10px;
  line-height: 1;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Hero */
.c-hero {
  position: relative;
  min-height: 92svh;
  padding: 180px var(--gutter) 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.c-lang {
  position: absolute;
  top: 104px;
  right: 126px;
  padding: 8px 0;
  border: 0;
  background: none;
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--muted);
  cursor: pointer;
  transition: color .2s ease;
}
.c-lang:hover, .c-lang:focus-visible { color: var(--ink); outline: none; }

.c-title {
  max-width: 1100px;
  margin: 64px auto 0;
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 116px);
  font-weight: 400;
  line-height: .94;
  letter-spacing: -.025em;
}
html.is-zh .c-title { font-size: clamp(40px, 5.6vw, 92px); line-height: 1.12; letter-spacing: 0; }

.c-intro {
  max-width: 680px;
  margin: 64px auto 0;
  font-family: var(--serif);
  font-size: clamp(19px, 1.75vw, 27px);
  font-weight: 400;
  line-height: 1.4;
}
html.is-zh .c-intro { font-family: var(--sans); font-size: clamp(16px, 1.3vw, 19px); font-weight: 400; line-height: 1.9; letter-spacing: .04em; }

.c-meta {
  margin: 56px 0 0;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.c-cta {
  margin-top: 28px;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: opacity .2s ease;
}
.c-cta:hover { opacity: .45; }

/* Services */
.c-services { padding: clamp(80px, 9vw, 140px) var(--gutter) 0; text-align: center; }

.c-service-grid {
  width: min(1400px, 100%);
  margin: 64px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 32px);
  text-align: left;
}

.c-service { display: flex; flex-direction: column; }
.c-service-media { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: #d8d2cf; }
.c-service-media img { transition: transform 1.1s var(--ease); }
.c-service:hover .c-service-media img { transform: scale(1.02); }

.c-service h2 {
  margin: 30px 0 18px;
  font-family: var(--serif);
  font-size: clamp(30px, 2.6vw, 42px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.01em;
}

.c-service ul { margin: 0; padding: 0; list-style: none; font-size: 13px; line-height: 1.85; }
.c-service-work { margin: 18px 0 0; font-size: 12px; line-height: 1.7; color: var(--muted); }
.c-service-work a { color: var(--ink); transition: opacity .2s ease; }
.c-service-work a:hover { opacity: .5; }

.c-service-start {
  margin-top: auto;
  padding-top: 26px;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: opacity .2s ease;
}
.c-service-start:hover { opacity: .45; }

/* Process */
.c-process { padding: clamp(120px, 12vw, 190px) var(--gutter); text-align: center; }
.c-process ol {
  width: min(1240px, 100%);
  margin: 64px auto 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
}
.c-process li { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.c-process small { font-size: 10px; letter-spacing: .12em; color: var(--muted); }
.c-process strong { font-family: var(--serif); font-size: clamp(28px, 2.6vw, 40px); font-weight: 400; line-height: 1; text-transform: uppercase; }
html.is-zh .c-process strong { text-transform: none; }
.c-process li p { max-width: 260px; margin: 0; font-size: 13px; line-height: 1.7; color: var(--muted); }

/* Brief builder */
.c-brief { padding: 0 var(--gutter) clamp(120px, 12vw, 190px); scroll-margin-top: 60px; }
.c-brief-head { text-align: left; width: min(1180px, 100%); margin: 0 auto; }
.c-brief:has(.c-brief-layout.is-review) .c-brief-head { width: min(820px, 100%); }
.c-brief-head h2 {
  margin: 28px 0 0;
  font-family: var(--serif);
  font-size: clamp(44px, 5.6vw, 88px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.025em;
}

.c-brief-layout {
  width: min(1180px, 100%);
  margin: clamp(56px, 6vw, 90px) auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}

.c-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  margin: 0 0 54px;
  padding: 0;
  list-style: none;
}
.c-steps button {
  position: relative;
  padding: 6px 0;
  border: 0;
  background: none;
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--faint);
  cursor: default;
}
.c-steps button span { margin-right: 6px; font-size: 9px; letter-spacing: .1em; }
.c-steps button.is-done { color: var(--muted); cursor: pointer; }
.c-steps button.is-done:hover { color: var(--ink); }
.c-steps button[aria-current="step"] { color: var(--ink); }
.c-steps button[aria-current="step"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--ink); }

.c-step { display: none; }
.c-step.is-active { display: block; animation: c-step-in .55s var(--ease); }
@keyframes c-step-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.c-step-title { margin: 0 0 8px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.c-step-title:focus { outline: none; }

.c-group { margin: 40px 0 0; padding: 0; border: 0; }
.c-group-title {
  margin: 56px 0 0;
  padding: 0;
  font-family: var(--serif);
  font-size: clamp(30px, 2.8vw, 42px);
  font-weight: 400;
  line-height: 1;
}
.c-group-title:first-of-type { margin-top: 30px; }

.c-field { margin: 34px 0 0; padding: 0; border: 0; min-width: 0; }
.c-field > legend,
.c-field > label.c-q {
  display: block;
  margin: 0;
  padding: 0;
  font-family: var(--serif);
  font-size: clamp(20px, 1.6vw, 24px);
  font-weight: 400;
  line-height: 1.25;
}
html.is-zh .c-field > legend,
html.is-zh .c-field > label.c-q { font-family: var(--sans); font-size: 17px; font-weight: 500; letter-spacing: .02em; }
.c-req { color: var(--faint); }
.c-hint { display: block; margin-top: 6px; font-family: var(--sans); font-size: 12px; font-weight: 400; line-height: 1.5; color: var(--muted); }

.c-options { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.c-chip { position: relative; display: inline-flex; }
.c-chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.c-chip span {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.c-chip:hover span { border-color: rgba(22, 20, 19, .4); }
.c-chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.c-chip input:focus-visible + span { outline: 1px solid var(--ink); outline-offset: 3px; }
.c-options.is-large .c-chip span { padding: 16px 26px; font-family: var(--serif); font-size: 22px; font-weight: 400; }
html.is-zh .c-options.is-large .c-chip span { font-family: var(--sans); font-size: 17px; }

.c-input {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: 400 16px/1.5 var(--sans);
  transition: border-color .2s ease;
  -webkit-appearance: none;
  appearance: none;
}
.c-input::placeholder { color: var(--faint); }
.c-input:focus { outline: none; border-bottom-color: var(--ink); }
textarea.c-input { min-height: 96px; resize: vertical; }
input[type="date"].c-input { min-height: 49px; }

.c-inline { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.c-inline .c-field { margin-top: 34px; }
.c-inline-1 { grid-template-columns: 1fr; }
.c-inline-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 22px; }
.c-check { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 13px; color: var(--muted); cursor: pointer; }
.c-check input { width: 15px; height: 15px; margin: 0; accent-color: var(--ink); }

.c-currency { display: inline-flex; gap: 14px; margin-left: 14px; vertical-align: 3px; }
.c-currency button { padding: 2px 0; border: 0; background: none; font-size: 11px; letter-spacing: .04em; color: var(--faint); cursor: pointer; }
.c-currency button[aria-pressed="true"] { color: var(--ink); border-bottom: 1px solid var(--ink); }

.c-error { display: block; margin-top: 10px; font-size: 12px; color: #9b3b2e; }
.c-error:empty { display: none; }
.c-field.has-error .c-chip span,
.c-field.has-error .c-input { border-color: rgba(155, 59, 46, .55); }

.c-honey { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.c-nav { display: flex; align-items: center; gap: 22px; margin-top: 56px; flex-wrap: wrap; }
.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 26px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper) !important;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity .2s ease, background-color .2s ease, color .2s ease;
}
.c-btn:hover { opacity: .82; }
.c-btn:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
.c-btn.is-ghost { background: transparent; color: var(--ink) !important; border-color: var(--line); }
.c-btn.is-ghost:hover { border-color: var(--ink); opacity: 1; }
.c-btn[disabled] { opacity: .4; cursor: wait; }
.c-link { padding: 6px 0; border: 0; background: none; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); cursor: pointer; }
.c-link:hover { color: var(--ink); }

/* Review */
.c-brief-layout.is-review { grid-template-columns: minmax(0, 820px); justify-content: center; }
.c-brief-layout.is-review .c-preview { display: none; }
.c-review-actions { margin-top: 36px; }
.c-review-brief {
  margin: 40px 0 0;
  padding: 30px 32px;
  background: var(--tint);
  font: 400 13px/1.75 var(--sans);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.c-review-note { margin: 22px 0 0; max-width: 560px; font-size: 12px; line-height: 1.7; color: var(--muted); }
.c-review-note a { color: var(--ink); border-bottom: 1px solid var(--line); }
.c-status { margin: 22px 0 0; font-size: 13px; line-height: 1.6; }
.c-status:empty { display: none; }

/* Live preview */
.c-preview {
  position: sticky;
  top: 110px;
  max-height: calc(100svh - 140px);
  overflow: auto;
  padding: 28px 28px 32px;
  background: var(--tint);
}
.c-preview-label { margin: 0 0 22px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.c-ref { margin-left: 8px; letter-spacing: .06em; color: var(--faint); }
.c-preview-body { font-size: 12px; line-height: 1.65; }
.c-preview-body h3 { margin: 18px 0 6px; font-size: 9px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.c-preview-body h3:first-child { margin-top: 0; }
.c-preview-body dl { margin: 0; display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 3px 12px; }
.c-preview-body dt { color: var(--muted); }
.c-preview-body dd { margin: 0; overflow-wrap: anywhere; }
.c-preview-empty { margin: 0; color: var(--faint); }

/* Direct contact + footer */
.c-direct { padding: clamp(110px, 12vw, 180px) var(--gutter); text-align: center; }
.c-direct-email {
  display: inline-block;
  margin-top: 30px;
  font-family: var(--serif);
  font-size: clamp(28px, 4.4vw, 68px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.02em;
  transition: opacity .2s ease;
}
.c-direct-email:hover { opacity: .55; }
.c-direct-links { margin: 30px 0 0; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.c-direct-links a { color: var(--muted); }
.c-direct-links a:hover { color: var(--ink); }

.c-footer { padding: 36px var(--gutter); display: flex; justify-content: center; gap: 42px; font-size: 10px; letter-spacing: .06em; text-align: center; }
.c-footer p { margin: 0; }
.c-noscript { font-size: 14px; line-height: 1.7; }

@media (max-width: 1000px) {
  .c-brief-layout { grid-template-columns: minmax(0, 1fr); }
  .c-preview { display: none; }
}

@media (max-width: 840px) {
  :root { --gutter: 18px; }
  .c-hero { min-height: 86svh; padding: 130px 18px 90px; }
  .c-lang { top: 66px; right: 16px; }
  .c-title { margin-top: 48px; }
  .c-intro { margin-top: 44px; }
  .c-service-grid { grid-template-columns: 1fr; gap: 72px; }
  .c-service-start { padding-top: 22px; }
  .c-process ol { grid-template-columns: 1fr 1fr; gap: 56px 18px; }
  .c-steps { gap: 6px 16px; margin-bottom: 40px; }
  .c-steps button span { display: none; }
  .c-inline, .c-inline-3 { grid-template-columns: 1fr; }
  .c-review-brief { padding: 22px 20px; }
  .c-nav { gap: 16px; }
  .c-footer { flex-direction: column; gap: 14px; }
}

@media (max-width: 520px) {
  .c-process ol { grid-template-columns: 1fr; }
  .c-chip span { padding: 9px 14px; }
  .c-options.is-large .c-chip span { padding: 14px 22px; font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .c-step.is-active { animation: none; }
  .c-service-media img { transition: none; }
}

/* First screen: title, the two direct links, then the brief. */
.c-brief { position: relative; padding-top: 150px; }
.c-brief-head h1 { position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
html.is-zh .c-brief-head h1 { letter-spacing: 0; }
.c-reach {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin: 0 0 clamp(88px, 10vw, 150px);
  padding: 0;
  list-style: none;
}
.c-reach a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  line-height: 1;
  color: var(--ink);
  transition: color .18s ease;
}
.c-reach a:hover, .c-reach a:focus-visible { color: var(--muted); outline: none; }
.c-reach svg { width: 1em; height: 1em; flex: 0 0 1em; }
.c-brief .c-lang { top: 104px; }
.c-brief-layout { margin-top: clamp(44px, 5vw, 72px); }
.c-steps { margin-bottom: 36px; }
@media (max-width: 840px) {
  .c-brief { padding-top: 104px; }
  .c-brief .c-lang { top: 62px; }
  .c-reach { gap: 16px; margin-bottom: 72px; }
}

/* Review: waiting for the client to send */
.c-pending {
  display: inline-block;
  margin: 30px 0 0;
  padding: 7px 14px;
  border-radius: 8px;
  background: #ead9bf;
  color: #7a5a2e;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: .04em;
}
.c-pending + .c-group-title { margin-top: 18px; }

/* One-page brief (2026-11-03) */
.c-opt { margin-left: 10px; font-family: var(--sans); font-size: 10px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); vertical-align: 3px; }
html.is-zh .c-opt { letter-spacing: .04em; }
.c-detail[hidden] { display: none; }
.c-detail .c-group-title { margin-top: 52px; }
.c-hint-block { margin: 10px 0 0; }
.c-step > .c-field:first-child { margin-top: 0; }

.c-send .c-pending { margin-top: 0; }
.c-send-title { margin: 18px 0 0; font-family: var(--serif); font-size: clamp(30px, 3vw, 46px); font-weight: 400; line-height: 1.1; }
.c-send-title:focus { outline: none; }
html.is-zh .c-send-title { font-size: clamp(26px, 2.4vw, 38px); line-height: 1.3; }
.c-send-lead { max-width: 620px; margin: 18px 0 0; font-size: 15px; line-height: 1.7; }
.c-routes { margin: 34px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.c-routes li { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.6; }
.c-routes strong { font-size: 10px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.c-routes .c-link { align-self: flex-start; padding: 4px 0; text-transform: none; letter-spacing: 0; font-size: 13px; color: var(--ink); border-bottom: 1px solid var(--line); }
.c-routes .c-link:hover { border-bottom-color: var(--ink); }
.c-status { font-weight: 500; }
@media (max-width: 840px) {
  .c-routes { grid-template-columns: 1fr; gap: 20px; }
}
