/* Company pages. Layout only; tokens and the locked sheet stay in fx.css and home.css. */

body.fx-company {
  background: #f5f1ea;
  color: #1c1a17;
}

.fx-company h1 {
  margin: 0;
  max-width: 14em;
  font-family: "Cormorant Garamond", "Palatino Linotype", Palatino, serif;
  font-weight: 300;
  font-synthesis: none;
  font-size: clamp(36px, 4.6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.fx-company h1 em {
  font-style: italic;
  font-weight: 300;
}

.fx-company .co-key {
  display: block;
  max-width: 36ch;
  margin-top: 14px;
  font-family: "Inter Tight", "Segoe UI", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.45;
  letter-spacing: 0;
  color: #4a453e;
}

.fx-company .co-block {
  padding: clamp(72px, 9vw, 120px) 0;
}

.fx-company .co-paper { background: #fbf9f5; }

.fx-company .co-read {
  max-width: 68ch;
  margin-top: 18px;
  color: #4a453e;
}

.fx-company .co-read p { margin: 0 0 16px; }

.fx-company .co-read a,
.fx-company .co-links a { color: #1c1a17; }

.fx-company .co-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 8px;
}

.fx-company .co-rows article,
.fx-company .co-steps li {
  padding: 20px 0;
  border-top: 1px solid #e2dbcf;
}

.fx-company .co-rows article:last-child,
.fx-company .co-steps li:last-child { border-bottom: 1px solid #e2dbcf; }

.fx-company .co-rows h3 {
  font-size: clamp(24px, 2.2vw, 32px);
}

.fx-company .co-rows p,
.fx-company .co-steps p {
  max-width: 68ch;
  margin: 8px 0 0;
  color: #4a453e;
}

.fx-company .co-steps { list-style: none; margin: 28px 0 0; padding: 0; }

.fx-company .co-steps strong {
  display: block;
  font-family: "Cormorant Garamond", "Palatino Linotype", Palatino, serif;
  font-weight: 300;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.15;
  color: #1c1a17;
}

.fx-company .co-spec {
  display: grid;
  margin-top: 28px;
  border-top: 1px solid #e2dbcf;
}

.fx-company .co-spec div {
  padding: 18px 18px 18px 0;
  border-bottom: 1px solid #e2dbcf;
}

.fx-company .co-spec dt {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #766e64;
}

.fx-company .co-spec dd {
  margin: 8px 0 0;
  font-variant-numeric: tabular-nums lining-nums;
}

.fx-company .co-projects__grid {
  display: grid;
  gap: 32px 24px;
  margin-top: 28px;
}

.fx-company .co-projects a {
  color: inherit;
  text-decoration: none;
}

.fx-company .co-projects .fx-frame { aspect-ratio: 1; }

.fx-company .co-projects h3 {
  margin-top: 12px;
  font-size: clamp(22px, 2vw, 28px);
}

.fx-company .co-projects p {
  margin: 6px 0 0;
  color: #766e64;
  font-size: 14px;
  line-height: 1.4;
}

.fx-company #lead-form { scroll-margin-top: 88px; }

.fx-company a:focus-visible,
.fx-company button:focus-visible,
.fx-company summary:focus-visible {
  outline: 2px solid #b08a5b;
  outline-offset: 4px;
}

/* Contact: the sheet is the page. */
.fx-contact h1 {
  max-width: 11em;
  font-size: clamp(32px, 4vw, 52px);
}

.fx-contact .co-desk {
  padding: calc(64px + 16px) 0 12px;
}

.fx-contact .co-phone {
  display: block;
  margin-top: 18px;
  font-family: "Cormorant Garamond", "Palatino Linotype", Palatino, serif;
  font-weight: 300;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums lining-nums;
  text-decoration: none;
}

.fx-contact .co-mail {
  display: inline-block;
  margin-top: 8px;
  text-decoration: none;
}

.fx-contact .co-place {
  max-width: 42ch;
  margin: 10px 0 0;
  color: #4a453e;
  font-variant-numeric: tabular-nums lining-nums;
}

.fx-contact .co-place a { color: #1c1a17; }

.fx-contact .co-desk__form {
  margin-top: 28px;
  background: #1f1d1a;
  color: #f5f1ea;
  padding: 20px 16px 16px;
}

.fx-contact .co-desk__form .fx-pills { margin-top: 0; }

.fx-contact .co-desk__form #fxReassure {
  max-width: 42ch;
  margin: 14px 0 0;
  color: #a39a8e;
  font-size: 15px;
  line-height: 1.5;
}

.fx-contact .co-desk__form .fx-form-sheet {
  margin-top: 16px;
  padding: 24px 16px 18px;
}

.fx-contact .co-note {
  max-width: 68ch;
  margin: 18px 0 0;
  color: #4a453e;
}

/* About ledger */
.fx-about .co-ledger {
  padding: calc(64px + 20px) 0 clamp(48px, 6vw, 80px);
}

.fx-about .co-proofs {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.fx-about .co-proofs li {
  display: grid;
  grid-template-columns: 8px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid #e2dbcf;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.35;
}

.fx-about .co-proofs li:last-child { border-bottom: 1px solid #e2dbcf; }

.fx-about .co-proofs i {
  display: block;
  width: 8px;
  height: 8px;
  background: #b08a5b;
}

.fx-about .co-ledger .fx-btn { margin-top: 28px; }

.fx-about .co-ledger__photo { margin-top: 32px; }

.fx-about .co-ledger__photo .fx-frame { aspect-ratio: 1; }

.fx-about .co-ledger__photo figcaption {
  margin-top: 8px;
  color: #766e64;
  font-size: 13px;
  line-height: 1.4;
}

/* Samples routes */
.fx-samples .co-open {
  padding: calc(64px + 18px) 0 clamp(48px, 6vw, 72px);
}

.fx-samples h1 { max-width: 18ch; }

.fx-samples .co-route { margin-top: 28px; padding-top: 16px; border-top: 1px solid #e2dbcf; }

.fx-samples .co-route h2 {
  max-width: 14ch;
  font-size: clamp(30px, 3.2vw, 48px);
}

.fx-samples .co-route p {
  max-width: 46ch;
  margin: 12px 0 0;
  color: #4a453e;
}

.fx-samples .co-open .fx-btn { margin-top: 28px; }

@media (min-width: 800px) {
  .fx-contact .co-desk { padding-top: calc(80px + 28px); }

  .fx-contact .co-desk__grid {
    display: grid;
    grid-template-columns: minmax(260px, 0.82fr) minmax(340px, 1.18fr);
    gap: 36px;
    align-items: start;
  }

  .fx-contact .co-desk__form { margin-top: 0; }

  .fx-about .co-ledger { padding-top: calc(80px + 32px); }

  .fx-about .co-ledger__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
    gap: 48px;
    align-items: end;
  }

  .fx-about .co-ledger__photo { margin-top: 0; }

  .fx-about .co-projects__grid { grid-template-columns: 1fr 1fr; }

  .fx-samples .co-open { padding-top: calc(80px + 28px); }

  .fx-samples .co-routes {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: start;
  }

  .fx-samples .co-route { margin-top: 36px; }

  .fx-samples .co-route + .co-route {
    margin-top: 36px;
    padding: 16px 0 0 36px;
    border-top: 1px solid #e2dbcf;
    border-left: 1px solid #e2dbcf;
  }

  .fx-samples .co-projects__grid { grid-template-columns: repeat(3, 1fr); }

  .fx-company .co-spec { grid-template-columns: repeat(4, 1fr); }

  .fx-company .co-spec div {
    border-right: 1px solid #e2dbcf;
    padding-right: 18px;
  }

  .fx-company .co-spec div:last-child { border-right: 0; }
}

@media (min-width: 1024px) {
  .fx-about .co-projects__grid { grid-template-columns: repeat(6, 1fr); }
  .fx-about .co-projects__grid a { grid-column: span 2; }
  .fx-about .co-projects__grid a:nth-child(4),
  .fx-about .co-projects__grid a:nth-child(5) { grid-column: span 3; }
}

@media (max-width: 1023px) {
  .fx-contact .co-desk { padding-bottom: 8px; }
}
