/* The homepage on the site's light layer (see ax.css and the redesign spec of 10 Nov 2026).
   The hero, the manifesto, the work, the ticker and the banner stay on the dark ground. The
   approach, the services and the enquiry form each move onto a paper panel holding white cards.
   Nothing here renames a hook: studio.js still drives every accordion, reveal and the form. */

/* ---- Paper panels ---- */
.approach,
.services-section,
.connect-section {
  margin-top: 130px;
  padding: clamp(56px, 6vw, 88px) clamp(18px, 3vw, 44px);
  border-radius: 28px;
  background: #f3f1ec;
  color: #111110;
}
:is(.approach, .services-section, .connect-section) ::selection {
  background: #111110;
  color: #fff;
}
:is(.approach, .services-section, .connect-section) :focus-visible {
  outline-color: #111110;
}
.approach h2,
.services-section h2,
.connect-section h2 {
  color: #111110;
}
.services-section .section-intro {
  margin-bottom: 36px;
}
.services-section .section-intro p {
  max-width: none;
  font-size: 15px;
  color: #474747;
}

/* ---- Approach: four white cards, each with a black tile ---- */
.approach-grid {
  gap: 14px;
  margin-top: 36px;
}
.approach-grid article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  border-radius: 20px;
  background: #fff;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.05),
    0 4px 8px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.35s cubic-bezier(0.2, 0.9, 0.25, 1.1),
    box-shadow 0.3s;
}
@media (hover: hover) {
  .approach-grid article:hover {
    transform: translateY(-4px);
    box-shadow:
      0 4px 6px rgba(0, 0, 0, 0.06),
      0 18px 34px rgba(0, 0, 0, 0.12);
  }
}
.approach-label {
  gap: 10px;
  padding-bottom: 0;
  margin-bottom: 44px;
}
.approach-label::after {
  content: none;
}
.approach-label h3 {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #6a6a66;
}
.approach .outline-icon {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: #111110;
  color: #fff;
  font-size: 18px;
}
.approach-grid h4 {
  margin-bottom: 10px;
  font-size: 23px;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #111110;
}
.approach-grid p {
  max-width: none;
  font-size: 15px;
  line-height: 1.5;
  color: #474747;
}
.approach .section-rule {
  margin-top: 36px;
  background: rgba(0, 0, 0, 0.08);
}
.approach .section-rule span {
  background: #111110;
}

/* ---- Selected works: a stack of rows on the dark ground ----
   The open one shows its work; the others are compact bars that say what they are and open on a
   click, in place of the tall empty columns. The stack keeps one height while it switches. */
.work-accordion {
  flex-direction: column;
  height: auto;
  gap: 8px;
}
.work-panel {
  flex: none;
  height: 76px;
  border-radius: 20px;
  background: #1c1c1b;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
  transition:
    height 0.7s var(--ease),
    background-color 0.3s;
}
.work-panel.is-active {
  flex: none;
  height: 720px;
  padding: 14px;
  box-shadow: none;
}
.work-toggle {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 22px 0 26px;
  color: #eeedea;
  cursor: pointer;
}
.work-number {
  opacity: 1;
  font-size: 12px;
  color: #a3a39d;
  font-variant-numeric: tabular-nums;
}
.work-vertical-title {
  position: static;
  writing-mode: horizontal-tb;
  transform: none;
  font-size: 28px;
  letter-spacing: -0.05em;
}
.work-plus {
  position: static;
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  margin-left: auto;
  border-radius: 50%;
  background: #eeedea;
  color: #111110;
  font-size: 20px;
  line-height: 1;
  transform: none;
}
.work-content {
  border-radius: 12px;
}
.work-caption {
  border-top-left-radius: 12px;
}
.work-caption .eyebrow {
  font-size: 12px;
  color: #5c5c57;
}
.work-caption p {
  font-size: 14.5px;
  color: #474747;
}
.work-caption .text-link {
  font-size: 13px;
}
.design-bottom {
  font-size: 12px;
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  .work-panel:not(.is-active):hover {
    background: #262625;
  }
  .work-panel:not(.is-active):hover .work-vertical-title {
    translate: 6px 0;
  }
}

/* ---- Services: white cards that open ---- */
.service-list {
  gap: 10px;
}
.service-item,
.service-item.is-open {
  border-radius: 20px;
  background: #fff;
  color: #111110;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.05),
    0 4px 8px rgba(0, 0, 0, 0.08);
}
.service-toggle,
.service-item.is-open .service-toggle {
  min-height: 96px;
  padding: 22px 24px;
  color: #111110;
  font-size: clamp(22px, 2.6vw, 36px);
  cursor: pointer;
}
.service-number {
  min-width: 27px;
  color: #6a6a66;
}
/* the sign: a black disc, so it reads on the card and over the artwork alike */
.service-toggle-sign {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #111110;
  transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.25, 1.1);
}
.service-toggle-sign::before,
.service-toggle-sign::after {
  left: 10px;
  right: 10px;
  background: #fff;
}
.service-item.is-open .service-toggle-sign {
  translate: none;
  filter: none;
}
@media (hover: hover) {
  .service-toggle:hover .service-toggle-sign {
    transform: scale(1.12);
  }
}
.service-body,
.service-body:has(.service-diagram),
.service-body:has(.service-creative-art) {
  min-height: 190px;
  padding: 0 24px 30px 67px;
}
.service-copy {
  width: min(44%, 520px);
}
.service-copy p {
  font-size: 15px;
  line-height: 1.5;
  color: #474747;
}
/* the links are pills */
.service-links {
  gap: 8px;
  margin-top: 22px;
}
.service-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 99px;
  background: #111110;
  color: #fff;
  font-size: 13.5px;
  transition: background-color 0.2s;
}
.service-links a:hover {
  background: #33332f;
  color: #fff;
}
/* the picture of each service sits in its own tile on the right of the card */
.service-art,
.service-diagram,
.service-creative-art {
  position: absolute;
  top: 14px;
  right: 14px;
  bottom: 14px;
  width: 47%;
  height: auto;
  border-radius: 14px;
  overflow: hidden;
}
.service-diagram,
.service-creative-art {
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
  background: #f3f1ec;
  color: #111110;
}
.service-diagram {
  gap: 14px;
  padding: 20px;
}
.service-diagram span {
  border-color: rgba(17, 17, 16, 0.3);
  background: #fff;
  font-size: 12px;
  color: #111110;
}
.service-creative-art {
  font-size: 150px;
  color: #111110;
}
.service-creative-art span {
  font-size: 116px;
}

/* ---- Ticker and banner: art on the dark ground between the panels ---- */
.ticker {
  margin-top: clamp(72px, 8vw, 110px);
}
.project-banner {
  margin-top: clamp(72px, 8vw, 110px);
  border-radius: 28px;
}
.project-banner-content .eyebrow,
.project-banner-content > p {
  font-size: 12px;
}

/* ---- The enquiry form: a white card on paper ---- */
.connect-section {
  max-width: none;
  margin-bottom: 120px;
}
.connect-section h2 {
  margin-bottom: 36px;
}
.studio-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 14px;
  max-width: 660px;
  margin: 0 auto;
  padding: clamp(22px, 3vw, 36px);
  border-radius: 28px;
  background: #fff;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.05),
    0 18px 40px rgba(0, 0, 0, 0.1);
}
.studio-form > * {
  grid-column: 1 / -1;
  min-width: 0;
}
@media (min-width: 701px) {
  .studio-form > .form-field:has(#contact-email, #contact-phone) {
    grid-column: auto;
  }
}
.form-field {
  padding: 0;
  margin-bottom: 18px;
  border: 0;
}
.form-field::after {
  content: none;
}
.form-field label,
.form-field:focus-within label {
  margin-bottom: 8px;
  font-size: 13px;
  color: #111110;
}
.form-field label span {
  color: #6a6a66;
}
.form-field input,
.form-field textarea,
.form-field select {
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #f3f1ec;
  color: #111110;
  font-size: 16px;
  transition:
    background-color 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
}
.form-field textarea {
  display: block;
  min-height: 110px;
}
.form-field select {
  color: #6a6a66;
}
.form-field select:valid {
  color: #111110;
}
.form-field option {
  background: #fff;
  color: #111110;
}
@media (hover: hover) {
  .form-field :is(input, select, textarea):hover {
    border-color: #c9c6be;
  }
}
.form-field :is(input, select, textarea):focus-visible {
  border-color: #111110;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(17, 17, 16, 0.1);
}
.form-field :is(input, select, textarea):is([aria-invalid="true"], :user-invalid) {
  border-color: #b3261e;
  background: #fdf1ef;
}
@supports (appearance: base-select) {
  .connect-section .form-field select::picker-icon {
    border-color: #6a6a66;
  }
  .connect-section .form-field select:open::picker-icon {
    border-color: #111110;
  }
  .connect-section .form-field select::picker(select) {
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #fff;
    box-shadow:
      0 4px 6px rgba(0, 0, 0, 0.06),
      0 18px 34px rgba(0, 0, 0, 0.12);
    color: #111110;
  }
  .connect-section .form-field option {
    background: none;
    color: #474747;
  }
  .connect-section .form-field option:hover,
  .connect-section .form-field option:focus-visible {
    background: #f3f1ec;
    color: #111110;
  }
  .connect-section .form-field option:checked {
    color: #111110;
  }
}
.form-hint {
  margin: -6px 0 18px;
  font-size: 13px;
  color: #6a6a66;
}
.form-status {
  font-size: 13.5px;
  color: #111110;
}
.form-submit {
  justify-self: end;
  gap: 12px;
  min-height: 46px;
  margin: 6px 0 0;
  padding: 0 8px 0 20px;
  border-radius: 99px;
  background: #111110;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}
.form-submit:disabled {
  cursor: default;
}
.form-submit .tiny-arrow {
  width: 30px;
  height: 30px;
  background: #fff;
  color: #111110;
}
.form-privacy {
  margin-top: 16px;
  color: #6a6a66;
}
.form-privacy a,
.form-success a {
  color: #111110;
}
.form-success .success-title {
  color: #111110;
}
.form-success p {
  font-size: 15px;
  line-height: 1.5;
  color: #474747;
}
.form-success a {
  font-size: 14px;
}

@media (max-width: 1050px) {
  .approach-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .work-panel.is-active {
    height: 570px;
    padding: 12px;
  }
  .work-toggle {
    padding: 0 20px;
  }
  .work-vertical-title {
    font-size: 25px;
  }
  .service-toggle {
    padding-left: 24px;
  }
  .service-creative-art {
    font-size: 130px;
  }
  .service-creative-art span {
    font-size: 100px;
  }
}
@media (max-width: 760px) {
  .approach,
  .services-section,
  .connect-section {
    margin-top: 72px;
    padding: 44px 14px;
    border-radius: 22px;
  }
  .project-banner,
  .studio-form {
    border-radius: 22px;
  }
  .connect-section {
    margin-bottom: 80px;
  }
}
@media (max-width: 700px) {
  .approach-grid {
    margin-top: 28px;
  }
  .approach-grid article {
    padding: 20px;
  }
  .approach-label {
    margin-bottom: 26px;
  }
  .approach-label h3 {
    font-size: 12px;
  }
  .approach-grid h4 {
    font-size: 22px;
  }
  .approach-grid p {
    font-size: 15px;
  }
  .approach .section-rule {
    margin-top: 28px;
  }
  .services-section .section-intro {
    margin-bottom: 26px;
  }
  .work-accordion {
    height: auto;
    gap: 6px;
  }
  .work-panel {
    height: 64px;
    border-radius: 16px;
  }
  .work-panel.is-active {
    height: 540px;
    padding: 9px;
  }
  .work-toggle {
    gap: 14px;
    padding: 0 15px 0 18px;
  }
  .work-vertical-title {
    font-size: 22px;
  }
  .work-plus {
    width: 32px;
    height: 32px;
    font-size: 19px;
    transform: none;
  }
  .work-content {
    border-radius: 9px;
  }
  .work-caption {
    border-top-left-radius: 0;
  }
  .work-caption p {
    max-width: 300px;
  }
  .system-node {
    font-size: 12px;
  }
  .service-toggle,
  .service-item.is-open .service-toggle {
    min-height: 74px;
    padding: 16px;
    font-size: 21px;
  }
  .service-number {
    min-width: 0;
    font-size: 12px;
  }
  .service-toggle-sign {
    width: 30px;
    height: 30px;
  }
  .service-toggle-sign::before,
  .service-toggle-sign::after {
    left: 9px;
    right: 9px;
  }
  /* the picture follows the copy and its links in the flow, so nothing sits on top of it */
  .service-body,
  .service-body:has(.service-diagram),
  .service-body:has(.service-creative-art) {
    min-height: 0;
    padding: 0 16px 16px;
  }
  .service-copy {
    width: 100%;
  }
  .service-copy p {
    max-width: none;
    font-size: 15px;
  }
  .service-links {
    margin-top: 18px;
  }
  .service-art,
  .service-diagram,
  .service-creative-art {
    position: relative;
    inset: auto;
    width: 100%;
    margin-top: 20px;
    border-radius: 12px;
  }
  .service-art,
  .service-creative-art {
    height: 175px;
  }
  .service-diagram {
    gap: 8px;
    padding: 22px 8px;
  }
  .service-diagram span {
    padding: 12px 10px;
    font-size: 12px;
  }
  .service-creative-art {
    font-size: 110px;
  }
  .service-creative-art span {
    font-size: 88px;
  }
  .project-banner-content .eyebrow,
  .project-banner-content > p {
    font-size: 12px;
  }
  .connect-section h2 {
    margin-bottom: 28px;
  }
  .studio-form {
    padding: 20px 16px;
  }
}
@media (max-width: 560px) {
  .approach-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .approach-grid article,
  .work-panel,
  .service-toggle-sign,
  .service-links a,
  .form-field input,
  .form-field textarea,
  .form-field select {
    transition: none;
  }
}
@media (forced-colors: active) {
  .service-toggle-sign {
    background: ButtonText;
  }
  .service-toggle-sign::before,
  .service-toggle-sign::after {
    background: ButtonFace;
  }
}
@media print {
  .approach,
  .services-section,
  .connect-section {
    margin-top: 40px;
    padding: 0;
    background: none;
  }
}

/* ---- The hero, on the gradient ----
   Like every other page's hero: Lumen's Instagram gradient, with the ink multiplied onto it so its
   paper takes the colour (the live ink too), and a piece of real work playing in a phone over it. */
.hero {
  background: linear-gradient(180deg, #2a7c99 0%, #4d8096 22%, #839aa7 42%, #b5adb4 58%, #e0b5af 74%, #f1a898 88%, #f3805e 100%);
  color: #111110;
}
.hero .hero-art,
.hero .hero-live {
  mix-blend-mode: multiply;
}
.hero .hero-art-soft {
  display: none;
}
.hero-capabilities p,
.hero-call {
  color: rgba(17, 17, 16, 0.78);
}
.hero-capabilities .hero-offer {
  max-width: 330px;
  font-size: 17px;
  line-height: 1.4;
  color: #111110;
}
.hero .chip-row a {
  border-color: rgba(17, 17, 16, 0.3);
  background: rgba(255, 255, 255, 0.4);
  color: #111110;
}
.sc-home {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-title-group,
.hero-capabilities {
  z-index: 2;
}
.sc-home .hx-tag {
  top: 24px;
  right: 24px;
}
@media (max-width: 1050px) {
  .sc-home {
    display: none;
  }
}
/* (on phones the art's frame is masked, which makes it its own layer: the frame is what blends) */
.hero .hero-art-frame {
  mix-blend-mode: multiply;
}
/* the phone sits clear of the vertical label on the card's right edge */
.sc-home .hx-stage > .sc-device {
  right: 24%;
}
.sc-home .sc-callout {
  right: calc(24% + 300px);
}
.sc-home .sc-callout--2 {
  right: calc(24% + 318px);
}
.sc-home .sc-toast {
  right: 9%;
  bottom: 9%;
}
@media (max-width: 1280px) {
  .sc-home .sc-callout {
    right: calc(24% + 236px);
  }
}
/* the hero's picture of everything keeps clear of the vertical label on the right edge */
.sc-home .sc-toast {
  right: 12%;
  bottom: 6%;
}
.sc-home .al {
  right: 9%;
}
.sc-home .al {
  right: 5%;
}
.sc-home .al {
  right: 8.5%;
}
.sc-home .sc-toast {
  right: 14%;
}
