/* Lightbulb Machine -- design B.  No framework, no Webflow runtime. */

:root {
  --cream: #f0ede5;
  --paper: #f7f5ef;
  --white: #ffffff;
  --ink: #19344b;
  --ink-deep: #0f2233;
  --ink-2: #4a5f70;
  --ink-on-dark: #c9d3db;
  --line: #d8d1c3;
  --line-dark: rgba(240, 237, 229, 0.18);
  --sky: #8bd4e9;
  --sky-tint: #e3f4f9;
  --gold: #dbb830;
  --gold-tint: #f6ecc4;
  --gold-text: #6b5410;

  --display: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;

  --wrap: 1120px;
  --pad: clamp(20px, 5vw, 48px);
  --band: clamp(72px, 10vw, 128px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 10;
  padding: 8px 12px;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--display);
}

/* ---------- draft banner ---------- */

.draft {
  padding: 9px var(--pad);
  background: var(--gold);
  color: var(--ink);
  font-family: var(--display);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

.draft a {
  font-weight: 800;
}

.logo-pick {
  display: inline-block;
  margin: 0 14px;
  white-space: nowrap;
}

#logo-links a {
  display: inline-block;
  min-width: 1.7em;
  margin-left: 2px;
  border-radius: 4px;
  text-align: center;
  text-decoration: none;
}

.logo-pick a[aria-current] {
  background: var(--ink);
  color: var(--gold);
}

.logo-pick__all {
  margin-left: 8px;
}

/* ---------- shared bits ---------- */

.eyebrow {
  margin: 0 0 18px;
  color: var(--ink-2);
  font-family: var(--display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-family: var(--display);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.btn--solid {
  background: var(--ink);
  color: var(--cream);
}

.btn--solid:hover {
  background: var(--ink-deep);
  border-color: var(--ink-deep);
}

.btn--sm {
  padding: 9px 18px;
  font-size: 0.875rem;
}

.btn--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.btn--gold:hover {
  background: #e7c84a;
  border-color: #e7c84a;
}

.btn:disabled {
  opacity: 0.6;
  cursor: progress;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
}

.arrow-link svg {
  flex: none;
  transition: transform 0.15s;
}

.arrow-link:hover svg {
  transform: translateX(3px);
}

.band {
  padding: var(--band) 0;
}

.band--paper {
  background: var(--paper);
}

.band--ink {
  background: var(--ink);
  color: var(--cream);
}

.band--ink .eyebrow {
  color: var(--sky);
}

.section-head {
  max-width: 40rem;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.section-head h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
}

.section-head p {
  margin: 20px 0 0;
  color: var(--ink-2);
}

.band--ink .section-head p {
  color: var(--ink-on-dark);
}

/* ---------- header ---------- */

.site-header {
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

/* Marks vary in aspect ratio; each carries its own, so set height only. */
.brand__mark {
  flex: none;
  width: auto;
  height: 32px;
  max-width: 72px;
}

.brand__name {
  font-family: var(--display);
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-family: var(--display);
  font-size: 0.9375rem;
  font-weight: 600;
}

.nav a:not(.btn) {
  text-decoration: none;
}

.nav a:not(.btn):hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

@media (max-width: 760px) {
  .nav a:not(.btn) {
    display: none;
  }
}

@media (max-width: 480px) {
  .site-header .wrap {
    gap: 12px;
  }
  .brand {
    gap: 9px;
  }
  .brand__mark {
    height: 26px;
    max-width: 56px;
  }
  .brand__name {
    font-size: 1rem;
  }
}

/* ---------- hero ---------- */

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 48px;
}

.hero__copy {
  padding: clamp(56px, 9vw, 116px) 0 clamp(64px, 9vw, 112px);
}

.hero h1 {
  max-width: 14ch;
  font-size: clamp(2.5rem, 5.8vw, 4.625rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.lede {
  max-width: 34em;
  margin: 28px 0 40px;
  color: var(--ink-2);
  font-size: clamp(1.125rem, 1.6vw, 1.3125rem);
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 30px;
}

.hero__art {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Sized for the lit composition: the loop sits inside a much larger bulb,
   so the frame is taller than the mark alone. */
.hero__mark {
  width: auto;
  height: clamp(260px, 30vw, 400px);
  max-width: 100%;
}

/* Hidden only for the moment it takes loop-draw.js to swap in the animated copy. */
.hero__mark.is-pending {
  visibility: hidden;
}

/* Click to replay the drawing. */
.hero__mark.is-live {
  cursor: pointer;
}

/* The filament's glow, once lit: a very slow breath, barely there. */
@keyframes lbm-breathe {
  from {
    opacity: 0.88;
    transform: scale(1);
  }
  to {
    opacity: 1;
    transform: scale(1.035);
  }
}

.lbm-glow.is-breathing {
  transform-box: fill-box;
  transform-origin: center;
  animation: lbm-breathe 6s ease-in-out infinite alternate;
}

@media (prefers-reduced-motion: reduce) {
  .lbm-glow.is-breathing {
    animation: none;
  }
}

@media (max-width: 860px) {
  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 0;
  }
  /* On narrow screens the mark sits above the headline, smaller. */
  .hero__art {
    order: -1;
    justify-content: flex-start;
    padding-top: clamp(36px, 8vw, 56px);
  }
  .hero__mark {
    height: 220px;
  }
  .hero__copy {
    padding-top: 28px;
  }
}

/* ---------- 0.5 to 2.0 ---------- */

.scale {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  margin: 0;
  padding: 0;
  list-style: none;
}

/* The line grows brighter from 0.5 to 2.0. */
.scale::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(219, 184, 48, 0.25), var(--gold));
}

.scale li {
  position: relative;
}

.scale li::before {
  content: "";
  position: relative;
  display: block;
  width: 14px;
  height: 14px;
  margin-bottom: 30px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 6px var(--ink);
}

.scale__num {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.scale h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.scale p {
  margin: 0;
  color: var(--ink-on-dark);
  font-size: 1.0625rem;
}

.scale-note {
  max-width: 44rem;
  margin: clamp(48px, 6vw, 72px) 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--line-dark);
  color: var(--cream);
  font-size: clamp(1.125rem, 1.8vw, 1.375rem);
  line-height: 1.5;
}

@media (max-width: 760px) {
  .scale {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .scale::before {
    top: 0;
    bottom: 0;
    left: 6px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, rgba(219, 184, 48, 0.25), var(--gold));
  }
  .scale li {
    padding-left: 44px;
  }
  .scale li::before {
    position: absolute;
    top: 14px;
    left: 0;
    margin: 0;
  }
}

/* ---------- what we bring ---------- */

.bring {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: clamp(40px, 7vw, 104px);
  align-items: start;
}

.bring .section-head {
  position: sticky;
  top: 40px;
  margin-bottom: 0;
}

.services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 40px;
  margin: 0;
  border-top: 1px solid var(--line);
}

.services div {
  padding: 24px 0 26px;
  border-bottom: 1px solid var(--line);
}

.services dt {
  margin-bottom: 6px;
  font-family: var(--display);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.services dd {
  margin: 0;
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.55;
}

.callout {
  margin-top: 40px;
  padding: 26px 0 0;
  border-top: 1px solid var(--line);
}

.callout strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--display);
  font-size: 1.0625rem;
}

.callout p {
  margin: 0;
  color: var(--ink-2);
  font-size: 1rem;
}

@media (max-width: 860px) {
  .bring {
    grid-template-columns: 1fr;
  }
  .bring .section-head {
    position: static;
  }
}

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

/* ---------- portfolio ---------- */

.portfolio {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.venture {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}

.venture__logo {
  display: flex;
  align-items: center;
  height: 56px;
  margin-bottom: 8px;
}

.venture__logo img {
  width: auto;
  max-height: 100%;
}

.venture__logo--glyphic img {
  height: 52px;
}

.venture__logo--blackmarker img {
  height: 36px;
}

.venture h3 {
  font-size: 1.375rem;
}

.venture p {
  margin: 0;
  color: var(--ink-2);
}

.venture .arrow-link {
  margin-top: auto;
  padding-top: 10px;
}

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

/* ---------- contact ---------- */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(40px, 7vw, 104px);
  align-items: start;
}

.contact .section-head {
  margin-bottom: 0;
}

.email-link {
  display: inline-block;
  margin-top: 32px;
  color: var(--cream);
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.4vw, 1.625rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
  overflow-wrap: anywhere;
}

.email-link:hover {
  color: var(--gold);
}

.place {
  margin: 14px 0 0;
  color: var(--ink-on-dark);
  font-size: 1rem;
}

.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--ink-on-dark);
  font-family: var(--display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.field .optional {
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.field input,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(240, 237, 229, 0.32);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--cream);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.15s, background-color 0.15s;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--sky);
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}

.form-status {
  margin: 0;
  color: #ffd9a8;
  font-size: 0.9375rem;
}

.form-done {
  padding: 28px 30px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
}

.form-done strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--display);
  font-size: 1.25rem;
}

.form-done p {
  margin: 0;
  color: var(--ink-on-dark);
}

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

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

/* ---------- footer ---------- */

.site-footer {
  padding: 28px 0 36px;
  border-top: 1px solid var(--line-dark);
  background: var(--ink);
  color: var(--ink-on-dark);
  font-family: var(--display);
  font-size: 0.8125rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
}

.site-footer p {
  margin: 0;
}

/* ---------- contact layouts under evaluation ---------- */

.contact--a {
  display: block;
  max-width: 46rem;
  margin: 0 auto;
  text-align: center;
}

.contact--a .section-head {
  max-width: none;
  margin-bottom: 0;
}

.contact--a .email-link {
  margin-top: 30px;
  font-size: clamp(1.5rem, 3.4vw, 2.25rem);
}

.contact--a .place {
  margin-top: 20px;
}

