/* Shared page styles — for Work, Services, About, Contact */

.page-hero {
  position: relative;
  padding: 180px 0 80px;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
}
.page-hero h1 {
  font-size: var(--fs-mega);
  letter-spacing: -0.035em;
  font-weight: 600;
  line-height: 0.9;
  margin-top: 12px;
  max-width: 1100px;
}
.page-hero h1 em { font-style: italic; color: var(--mash-orange); }
.page-hero__lede {
  margin-top: 32px;
  font-size: clamp(18px, 1.6vw, 22px);
  max-width: 620px;
  color: var(--ink-soft);
  line-height: 1.4;
}

/* ───────── WORK FILTERS ───────── */
.work-filters { padding-top: 40px; padding-bottom: 20px; }
.filter-bar {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule);
}
.filter {
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--rule);
  transition: all .25s;
  display: inline-flex; align-items: center; gap: 8px;
}
.filter span {
  font-size: 11px;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}
.filter:hover { border-color: var(--ink); }
.filter.active {
  background: var(--mash-orange);
  color: white;
  border-color: var(--mash-orange);
}
.filter.active span { color: rgba(255,255,255,.8); }

/* ───────── WORK GRID ───────── */
.work-grid {
  padding-top: 40px;
  padding-bottom: 140px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 40px;
}
.card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-plain);
  transition: transform .4s var(--ease-out);
  border: 1px solid var(--rule);
}
.card:hover { transform: translateY(-4px); }
.card__media {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.card__shape {
  width: 45%;
  filter: drop-shadow(0 12px 28px rgba(0,0,0,.2));
  transition: transform .7s var(--ease-out);
}
.card:hover .card__shape { transform: rotate(15deg) scale(1.08); }
.card__year {
  position: absolute;
  top: 14px; left: 16px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: white;
  background: rgba(0,0,0,.3);
  padding: 4px 10px;
  border-radius: 100px;
  backdrop-filter: blur(4px);
}
.card__body { padding: 24px; }
.card__client {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}
.card__body h3 {
  font-size: 28px;
  margin: 8px 0 12px;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.card__body p { font-size: 15px; color: var(--ink-soft); line-height: 1.5; }
.card__tags {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-top: 18px;
}
.card__tags span {
  font-size: 11px;
  padding: 4px 10px;
  border: 1px solid var(--rule);
  border-radius: 100px;
  color: var(--ink-soft);
}
.card__kpi {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  display: flex; gap: 10px; align-items: center;
  font-size: 14px;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}
.card__kpi strong { color: var(--ink); font-weight: 500; font-size: 16px; }

/* ───────── SERVICES PAGE ───────── */
.svc-anchors {
  padding-top: 40px;
  padding-bottom: 40px;
  display: flex; gap: 20px; flex-wrap: wrap;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
}
.svc-anchors a {
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid var(--rule);
  transition: all .25s;
}
.svc-anchors a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.svc-detail {
  padding: 120px 0;
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.svc-detail:nth-child(even) {
  background: var(--mash-anti-flash);
}
.svc-detail__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.svc-detail__glyph {
  position: relative;
  aspect-ratio: 1;
  max-width: 280px;
}
.svc-detail__glyph img { width: 100%; height: 100%; object-fit: contain; }
.svc-detail__num {
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.svc-detail h2 {
  font-size: clamp(40px, 5vw, 80px);
  letter-spacing: -0.03em;
  font-weight: 500;
  margin-bottom: 24px;
}
.svc-detail__lede {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: 32px;
  max-width: 520px;
}
.svc-detail__deliv {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--rule);
}
.svc-detail__deliv li {
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 15px;
  display: flex; align-items: center; gap: 10px;
}
.svc-detail__deliv li::before {
  content: '';
  width: 6px; height: 8px;
  background: var(--mash-orange);
  border-radius: 50%;
  flex-shrink: 0;
}
@media (max-width: 820px) {
  .svc-detail__grid { grid-template-columns: 1fr; }
  .svc-detail__deliv { grid-template-columns: 1fr; }
}

.svc-detail__more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 12px 22px;
  border-radius: 100px;
  background: var(--mash-orange);
  color: white;
  font-size: 14px;
  font-weight: 500;
  transition: transform .3s var(--ease-out), background .3s;
}
.svc-detail__more:hover { transform: translateY(-2px); background: #ff6423; }
.svc-detail__more span {
  display: inline-block;
  transition: transform .3s var(--ease-out);
}
.svc-detail__more:hover span { transform: translateX(4px); }

/* ───────── ABOUT ───────── */
.about-intro {
  padding: 120px 0;
  border-bottom: 1px solid var(--rule);
}
.about-intro__grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 60px;
}
.about-intro h2 {
  font-size: clamp(32px, 3.4vw, 56px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.about-intro h2 em { font-style: italic; color: var(--mash-orange); }
.about-intro p { font-size: 17px; color: var(--ink-soft); line-height: 1.6; max-width: 520px; }
.about-intro p + p { margin-top: 16px; }

.values {
  padding: 140px 0;
  background: var(--mash-cosmo-black);
  color: var(--mash-anti-flash);
}
.values__head { margin-bottom: 80px; max-width: 720px; }
.values__head h2 {
  font-size: var(--fs-hero);
  letter-spacing: -0.03em;
  font-weight: 500;
  margin-top: 12px;
}
.values__head .eyebrow { color: rgba(244,244,241,.6); }
.values__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 4px;
  background: rgba(244,244,241,.18);
  border: 1px solid rgba(244,244,241,.18);
}
.value {
  background: var(--mash-cosmo-black);
  padding: 40px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 260px;
  position: relative;
  overflow: hidden;
  transition: background .4s;
}
.value:hover { background: var(--mash-dusk-blue); }
.value__num {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--mash-grey-blue);
}
.value h3 {
  font-size: 32px;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.value p { font-size: 15px; color: rgba(244,244,241,.75); line-height: 1.5; }
.value__shape {
  position: absolute;
  width: 100px;
  right: -20px; bottom: -20px;
  opacity: .15;
  transition: transform .5s var(--ease-out), opacity .4s;
}
.value:hover .value__shape { opacity: .3; transform: rotate(20deg) scale(1.1); }

.timeline {
  padding-top: 140px;
  padding-bottom: 140px;
}
.timeline__head { margin-bottom: 80px; }
.timeline__head h2 {
  font-size: var(--fs-hero);
  letter-spacing: -0.03em;
  font-weight: 500;
}
.timeline__list {
  list-style: none;
  margin: 0; padding: 0;
  position: relative;
}
.timeline__list::before {
  content: '';
  position: absolute;
  left: 100px;
  top: 10px; bottom: 10px;
  width: 1px;
  background: var(--rule);
}
.timeline__item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 40px;
  padding: 20px 0;
  position: relative;
}
.timeline__item::before {
  content: '';
  position: absolute;
  left: 94px;
  top: 30px;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--mash-orange);
  border: 3px solid var(--paper);
}
.timeline__year {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
}
.timeline__body h4 {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.01em;
  font-weight: 500;
  margin-bottom: 6px;
}
.timeline__body p { font-size: 15px; color: var(--ink-soft); max-width: 520px; }

/* ───────── CONTACT ───────── */
.contact {
  padding: 160px 0 120px;
  min-height: 100vh;
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact__lede h1 {
  font-size: var(--fs-hero);
  letter-spacing: -0.03em;
  font-weight: 500;
  margin-top: 12px;
}
.contact__lede h1 em { font-style: italic; color: var(--mash-orange); }
.contact__lede p {
  margin-top: 24px;
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 380px;
  line-height: 1.5;
}
.contact__details {
  margin-top: 40px;
  display: flex; flex-direction: column; gap: 24px;
}
.contact__det {
  padding: 20px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  display: flex; gap: 16px; align-items: start;
  background: var(--paper-plain);
}
.contact__det__icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--mash-orange);
  color: white;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact__det__icon svg { width: 18px; height: 18px; }
.contact__det h4 {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 4px;
  font-weight: 500;
}
.contact__det p { font-size: 16px; color: var(--ink); }
.contact__det a { border-bottom: 1px solid var(--mash-orange); }

/* FORM */
.form {
  padding: 36px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: var(--paper-plain);
  display: flex; flex-direction: column; gap: 20px;
}
.form__row { display: grid; gap: 20px; grid-template-columns: 1fr 1fr; }
@media (max-width: 720px) { .form__row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}
.field input, .field textarea, .field select {
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 10px;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  transition: border-color .2s, background .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--mash-orange);
  background: var(--paper-plain);
}
.field textarea { min-height: 140px; resize: vertical; font-family: inherit; }
.field__error {
  font-size: 12px;
  color: #c53030;
  display: none;
}
.field.invalid .field__error { display: block; }
.field.invalid input, .field.invalid textarea { border-color: #c53030; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 10px 16px;
  border-radius: 100px;
  border: 1px solid var(--rule);
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
}
.chip:hover { border-color: var(--ink); }
.chip.on {
  background: var(--mash-orange);
  color: white;
  border-color: var(--mash-orange);
}

.form__submit {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 8px;
}
.form__note { font-size: 12px; color: var(--ink-soft); max-width: 260px; }

.form__success {
  display: none;
  padding: 36px;
  border-radius: var(--radius-lg);
  background: var(--mash-green);
  color: white;
  text-align: center;
}
.form__success h3 {
  font-size: 32px;
  margin-bottom: 8px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.form__success p { font-size: 16px; opacity: .9; }
.form.sent { display: none; }
.form__success.sent { display: block; }

@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; }
}

/* ───────────────── TALENT PAGE ───────────────── */
.talent {
  padding: 160px 0 120px;
}
.talent-form {
}

.talent-section {
  margin-bottom: 48px;
}
.talent-section__title {
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 500;
  color: var(--ink-soft);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 24px;
}

/* Upload zone */
.upload-zone {
  border: 2px dashed var(--rule);
  border-radius: var(--radius);
  padding: 40px 24px;
  text-align: center;
  color: var(--ink-soft);
  transition: border-color .25s, background .25s;
  cursor: pointer;
}
.upload-zone:hover {
  border-color: var(--mash-orange);
  background: color-mix(in srgb, var(--mash-orange) 4%, transparent);
}
.upload-zone__icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
  color: var(--ink-soft);
}
.upload-zone__label {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 4px;
}
.upload-zone__hint {
  font-size: 13px;
}
.upload-zone__file {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 10px 16px;
  background: color-mix(in srgb, var(--mash-orange) 8%, transparent);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}
.upload-zone__file svg {
  width: 16px;
  height: 16px;
  color: var(--mash-orange);
}
.upload-zone__remove {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0,0,0,.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
  transition: background .2s;
}
.upload-zone__remove:hover {
  background: rgba(0,0,0,.2);
}

/* NDA */
.nda-block {
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 36px;
  background: var(--paper-plain);
}
.nda-block__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.nda-block__head svg {
  width: 24px;
  height: 24px;
  color: var(--mash-orange);
  flex-shrink: 0;
}
.nda-block__head h3 {
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.2;
}
.nda-block__intro {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 20px;
  line-height: 1.5;
}
.nda-text {
  max-height: 220px;
  overflow-y: auto;
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 24px;
}
.nda-text h4 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.4;
  letter-spacing: 0;
}
.nda-text p {
  margin-bottom: 14px;
}
.nda-sign-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

/* Checkbox field */
.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}
.checkbox-field input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--mash-orange);
  flex-shrink: 0;
  cursor: pointer;
}
.checkbox-field span {
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink);
}

/* Signature input */
.field--signature input {
  border: none;
  border-bottom: 2px solid var(--ink);
  border-radius: 0;
  background: transparent;
  font-family: var(--font-display);
  font-size: 20px;
  font-style: italic;
  padding: 8px 0;
}
.field--signature input:focus {
  border-color: var(--mash-orange);
  background: transparent;
  outline: none;
}

@media (max-width: 720px) {
  .nda-sign-row { grid-template-columns: 1fr; }
  .nda-block { padding: 24px; }
}
